# RUN: llvm-mc -arch=amdgcn -mcpu=gfx900 -disassemble -show-encoding < %s | FileCheck -strict-whitespace %s

# CHECK: v_nop                                   ; encoding: [0x00,0x00,0x00,0x7e]
0x00,0x00,0x00,0x7e

# CHECK: v_mov_b32_e32 v5, v1                    ; encoding: [0x01,0x03,0x0a,0x7e]
0x01,0x03,0x0a,0x7e

# CHECK: v_mov_b32_e32 v255, v1                  ; encoding: [0x01,0x03,0xfe,0x7f]
0x01,0x03,0xfe,0x7f

# CHECK: v_mov_b32_e32 v5, v255                  ; encoding: [0xff,0x03,0x0a,0x7e]
0xff,0x03,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, s1                    ; encoding: [0x01,0x02,0x0a,0x7e]
0x01,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, s101                  ; encoding: [0x65,0x02,0x0a,0x7e]
0x65,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x02,0x0a,0x7e]
0x66,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x02,0x0a,0x7e]
0x67,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, vcc_lo                ; encoding: [0x6a,0x02,0x0a,0x7e]
0x6a,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, vcc_hi                ; encoding: [0x6b,0x02,0x0a,0x7e]
0x6b,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, m0                    ; encoding: [0x7c,0x02,0x0a,0x7e]
0x7c,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, exec_lo               ; encoding: [0x7e,0x02,0x0a,0x7e]
0x7e,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, exec_hi               ; encoding: [0x7f,0x02,0x0a,0x7e]
0x7f,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, 0                     ; encoding: [0x80,0x02,0x0a,0x7e]
0x80,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, -1                    ; encoding: [0xc1,0x02,0x0a,0x7e]
0xc1,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, 0.5                   ; encoding: [0xf0,0x02,0x0a,0x7e]
0xf0,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, -4.0                  ; encoding: [0xf7,0x02,0x0a,0x7e]
0xf7,0x02,0x0a,0x7e

# CHECK: v_mov_b32_e32 v5, 0xaf123456            ; encoding: [0xff,0x02,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x02,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_mov_b32_e32 v5, 0x3f717273            ; encoding: [0xff,0x02,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x02,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_readfirstlane_b32 s5, v1              ; encoding: [0x01,0x05,0x0a,0x7e]
0x01,0x05,0x0a,0x7e

# CHECK: v_readfirstlane_b32 s101, v1            ; encoding: [0x01,0x05,0xca,0x7e]
0x01,0x05,0xca,0x7e

# CHECK: v_readfirstlane_b32 flat_scratch_lo, v1 ; encoding: [0x01,0x05,0xcc,0x7e]
0x01,0x05,0xcc,0x7e

# CHECK: v_readfirstlane_b32 flat_scratch_hi, v1 ; encoding: [0x01,0x05,0xce,0x7e]
0x01,0x05,0xce,0x7e

# CHECK: v_readfirstlane_b32 s5, v255            ; encoding: [0xff,0x05,0x0a,0x7e]
0xff,0x05,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, v[1:2]            ; encoding: [0x01,0x07,0x0a,0x7e]
0x01,0x07,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v255, v[1:2]          ; encoding: [0x01,0x07,0xfe,0x7f]
0x01,0x07,0xfe,0x7f

# CHECK: v_cvt_i32_f64_e32 v5, v[254:255]        ; encoding: [0xfe,0x07,0x0a,0x7e]
0xfe,0x07,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, s[2:3]            ; encoding: [0x02,0x06,0x0a,0x7e]
0x02,0x06,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, s[4:5]            ; encoding: [0x04,0x06,0x0a,0x7e]
0x04,0x06,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, s[100:101]        ; encoding: [0x64,0x06,0x0a,0x7e]
0x64,0x06,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, flat_scratch      ; encoding: [0x66,0x06,0x0a,0x7e]
0x66,0x06,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, vcc               ; encoding: [0x6a,0x06,0x0a,0x7e]
0x6a,0x06,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, exec              ; encoding: [0x7e,0x06,0x0a,0x7e]
0x7e,0x06,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, 0                 ; encoding: [0x80,0x06,0x0a,0x7e]
0x80,0x06,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, -1                ; encoding: [0xc1,0x06,0x0a,0x7e]
0xc1,0x06,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, 0.5               ; encoding: [0xf0,0x06,0x0a,0x7e]
0xf0,0x06,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, -4.0              ; encoding: [0xf7,0x06,0x0a,0x7e]
0xf7,0x06,0x0a,0x7e

# CHECK: v_cvt_i32_f64_e32 v5, 0xaf123456        ; encoding: [0xff,0x06,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x06,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_i32_f64_e32 v5, 0x3f717273        ; encoding: [0xff,0x06,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x06,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_f64_i32_e32 v[5:6], v1            ; encoding: [0x01,0x09,0x0a,0x7e]
0x01,0x09,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[254:255], v1        ; encoding: [0x01,0x09,0xfc,0x7f]
0x01,0x09,0xfc,0x7f

# CHECK: v_cvt_f64_i32_e32 v[5:6], v255          ; encoding: [0xff,0x09,0x0a,0x7e]
0xff,0x09,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], s1            ; encoding: [0x01,0x08,0x0a,0x7e]
0x01,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], s101          ; encoding: [0x65,0x08,0x0a,0x7e]
0x65,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], flat_scratch_lo ; encoding: [0x66,0x08,0x0a,0x7e]
0x66,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], flat_scratch_hi ; encoding: [0x67,0x08,0x0a,0x7e]
0x67,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], vcc_lo        ; encoding: [0x6a,0x08,0x0a,0x7e]
0x6a,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], vcc_hi        ; encoding: [0x6b,0x08,0x0a,0x7e]
0x6b,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], m0            ; encoding: [0x7c,0x08,0x0a,0x7e]
0x7c,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], exec_lo       ; encoding: [0x7e,0x08,0x0a,0x7e]
0x7e,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], exec_hi       ; encoding: [0x7f,0x08,0x0a,0x7e]
0x7f,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], 0             ; encoding: [0x80,0x08,0x0a,0x7e]
0x80,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], -1            ; encoding: [0xc1,0x08,0x0a,0x7e]
0xc1,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], 0.5           ; encoding: [0xf0,0x08,0x0a,0x7e]
0xf0,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], -4.0          ; encoding: [0xf7,0x08,0x0a,0x7e]
0xf7,0x08,0x0a,0x7e

# CHECK: v_cvt_f64_i32_e32 v[5:6], 0xaf123456    ; encoding: [0xff,0x08,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x08,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_f64_i32_e32 v[5:6], 0x3f717273    ; encoding: [0xff,0x08,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x08,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_f32_i32_e32 v5, v1                ; encoding: [0x01,0x0b,0x0a,0x7e]
0x01,0x0b,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v255, v1              ; encoding: [0x01,0x0b,0xfe,0x7f]
0x01,0x0b,0xfe,0x7f

# CHECK: v_cvt_f32_i32_e32 v5, v255              ; encoding: [0xff,0x0b,0x0a,0x7e]
0xff,0x0b,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, s1                ; encoding: [0x01,0x0a,0x0a,0x7e]
0x01,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, s101              ; encoding: [0x65,0x0a,0x0a,0x7e]
0x65,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, flat_scratch_lo   ; encoding: [0x66,0x0a,0x0a,0x7e]
0x66,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, flat_scratch_hi   ; encoding: [0x67,0x0a,0x0a,0x7e]
0x67,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, vcc_lo            ; encoding: [0x6a,0x0a,0x0a,0x7e]
0x6a,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, vcc_hi            ; encoding: [0x6b,0x0a,0x0a,0x7e]
0x6b,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, m0                ; encoding: [0x7c,0x0a,0x0a,0x7e]
0x7c,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, exec_lo           ; encoding: [0x7e,0x0a,0x0a,0x7e]
0x7e,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, exec_hi           ; encoding: [0x7f,0x0a,0x0a,0x7e]
0x7f,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, 0                 ; encoding: [0x80,0x0a,0x0a,0x7e]
0x80,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, -1                ; encoding: [0xc1,0x0a,0x0a,0x7e]
0xc1,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, 0.5               ; encoding: [0xf0,0x0a,0x0a,0x7e]
0xf0,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, -4.0              ; encoding: [0xf7,0x0a,0x0a,0x7e]
0xf7,0x0a,0x0a,0x7e

# CHECK: v_cvt_f32_i32_e32 v5, 0xaf123456        ; encoding: [0xff,0x0a,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x0a,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_f32_i32_e32 v5, 0x3f717273        ; encoding: [0xff,0x0a,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x0a,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_f32_u32_e32 v5, v1                ; encoding: [0x01,0x0d,0x0a,0x7e]
0x01,0x0d,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v255, v1              ; encoding: [0x01,0x0d,0xfe,0x7f]
0x01,0x0d,0xfe,0x7f

# CHECK: v_cvt_f32_u32_e32 v5, v255              ; encoding: [0xff,0x0d,0x0a,0x7e]
0xff,0x0d,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, s1                ; encoding: [0x01,0x0c,0x0a,0x7e]
0x01,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, s101              ; encoding: [0x65,0x0c,0x0a,0x7e]
0x65,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, flat_scratch_lo   ; encoding: [0x66,0x0c,0x0a,0x7e]
0x66,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, flat_scratch_hi   ; encoding: [0x67,0x0c,0x0a,0x7e]
0x67,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, vcc_lo            ; encoding: [0x6a,0x0c,0x0a,0x7e]
0x6a,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, vcc_hi            ; encoding: [0x6b,0x0c,0x0a,0x7e]
0x6b,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, m0                ; encoding: [0x7c,0x0c,0x0a,0x7e]
0x7c,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, exec_lo           ; encoding: [0x7e,0x0c,0x0a,0x7e]
0x7e,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, exec_hi           ; encoding: [0x7f,0x0c,0x0a,0x7e]
0x7f,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, 0                 ; encoding: [0x80,0x0c,0x0a,0x7e]
0x80,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, -1                ; encoding: [0xc1,0x0c,0x0a,0x7e]
0xc1,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, 0.5               ; encoding: [0xf0,0x0c,0x0a,0x7e]
0xf0,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, -4.0              ; encoding: [0xf7,0x0c,0x0a,0x7e]
0xf7,0x0c,0x0a,0x7e

# CHECK: v_cvt_f32_u32_e32 v5, 0xaf123456        ; encoding: [0xff,0x0c,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x0c,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_f32_u32_e32 v5, 0x3f717273        ; encoding: [0xff,0x0c,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x0c,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_u32_f32_e32 v5, v1                ; encoding: [0x01,0x0f,0x0a,0x7e]
0x01,0x0f,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v255, v1              ; encoding: [0x01,0x0f,0xfe,0x7f]
0x01,0x0f,0xfe,0x7f

# CHECK: v_cvt_u32_f32_e32 v5, v255              ; encoding: [0xff,0x0f,0x0a,0x7e]
0xff,0x0f,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, s1                ; encoding: [0x01,0x0e,0x0a,0x7e]
0x01,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, s101              ; encoding: [0x65,0x0e,0x0a,0x7e]
0x65,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, flat_scratch_lo   ; encoding: [0x66,0x0e,0x0a,0x7e]
0x66,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, flat_scratch_hi   ; encoding: [0x67,0x0e,0x0a,0x7e]
0x67,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, vcc_lo            ; encoding: [0x6a,0x0e,0x0a,0x7e]
0x6a,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, vcc_hi            ; encoding: [0x6b,0x0e,0x0a,0x7e]
0x6b,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, m0                ; encoding: [0x7c,0x0e,0x0a,0x7e]
0x7c,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, exec_lo           ; encoding: [0x7e,0x0e,0x0a,0x7e]
0x7e,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, exec_hi           ; encoding: [0x7f,0x0e,0x0a,0x7e]
0x7f,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, 0                 ; encoding: [0x80,0x0e,0x0a,0x7e]
0x80,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, -1                ; encoding: [0xc1,0x0e,0x0a,0x7e]
0xc1,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, 0.5               ; encoding: [0xf0,0x0e,0x0a,0x7e]
0xf0,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, -4.0              ; encoding: [0xf7,0x0e,0x0a,0x7e]
0xf7,0x0e,0x0a,0x7e

# CHECK: v_cvt_u32_f32_e32 v5, 0xaf123456        ; encoding: [0xff,0x0e,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x0e,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_u32_f32_e32 v5, 0x3f717273        ; encoding: [0xff,0x0e,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x0e,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_i32_f32_e32 v5, v1                ; encoding: [0x01,0x11,0x0a,0x7e]
0x01,0x11,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v255, v1              ; encoding: [0x01,0x11,0xfe,0x7f]
0x01,0x11,0xfe,0x7f

# CHECK: v_cvt_i32_f32_e32 v5, v255              ; encoding: [0xff,0x11,0x0a,0x7e]
0xff,0x11,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, s1                ; encoding: [0x01,0x10,0x0a,0x7e]
0x01,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, s101              ; encoding: [0x65,0x10,0x0a,0x7e]
0x65,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, flat_scratch_lo   ; encoding: [0x66,0x10,0x0a,0x7e]
0x66,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, flat_scratch_hi   ; encoding: [0x67,0x10,0x0a,0x7e]
0x67,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, vcc_lo            ; encoding: [0x6a,0x10,0x0a,0x7e]
0x6a,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, vcc_hi            ; encoding: [0x6b,0x10,0x0a,0x7e]
0x6b,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, m0                ; encoding: [0x7c,0x10,0x0a,0x7e]
0x7c,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, exec_lo           ; encoding: [0x7e,0x10,0x0a,0x7e]
0x7e,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, exec_hi           ; encoding: [0x7f,0x10,0x0a,0x7e]
0x7f,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, 0                 ; encoding: [0x80,0x10,0x0a,0x7e]
0x80,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, -1                ; encoding: [0xc1,0x10,0x0a,0x7e]
0xc1,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, 0.5               ; encoding: [0xf0,0x10,0x0a,0x7e]
0xf0,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, -4.0              ; encoding: [0xf7,0x10,0x0a,0x7e]
0xf7,0x10,0x0a,0x7e

# CHECK: v_cvt_i32_f32_e32 v5, 0xaf123456        ; encoding: [0xff,0x10,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x10,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_i32_f32_e32 v5, 0x3f717273        ; encoding: [0xff,0x10,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x10,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_f16_f32_e32 v5, v1                ; encoding: [0x01,0x15,0x0a,0x7e]
0x01,0x15,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v255, v1              ; encoding: [0x01,0x15,0xfe,0x7f]
0x01,0x15,0xfe,0x7f

# CHECK: v_cvt_f16_f32_e32 v5, v255              ; encoding: [0xff,0x15,0x0a,0x7e]
0xff,0x15,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, s1                ; encoding: [0x01,0x14,0x0a,0x7e]
0x01,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, s101              ; encoding: [0x65,0x14,0x0a,0x7e]
0x65,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, flat_scratch_lo   ; encoding: [0x66,0x14,0x0a,0x7e]
0x66,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, flat_scratch_hi   ; encoding: [0x67,0x14,0x0a,0x7e]
0x67,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, vcc_lo            ; encoding: [0x6a,0x14,0x0a,0x7e]
0x6a,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, vcc_hi            ; encoding: [0x6b,0x14,0x0a,0x7e]
0x6b,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, m0                ; encoding: [0x7c,0x14,0x0a,0x7e]
0x7c,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, exec_lo           ; encoding: [0x7e,0x14,0x0a,0x7e]
0x7e,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, exec_hi           ; encoding: [0x7f,0x14,0x0a,0x7e]
0x7f,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, 0                 ; encoding: [0x80,0x14,0x0a,0x7e]
0x80,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, -1                ; encoding: [0xc1,0x14,0x0a,0x7e]
0xc1,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, 0.5               ; encoding: [0xf0,0x14,0x0a,0x7e]
0xf0,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, -4.0              ; encoding: [0xf7,0x14,0x0a,0x7e]
0xf7,0x14,0x0a,0x7e

# CHECK: v_cvt_f16_f32_e32 v5, 0xaf123456        ; encoding: [0xff,0x14,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x14,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_f16_f32_e32 v5, 0x3f717273        ; encoding: [0xff,0x14,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x14,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_f32_f16_e32 v5, v1                ; encoding: [0x01,0x17,0x0a,0x7e]
0x01,0x17,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v255, v1              ; encoding: [0x01,0x17,0xfe,0x7f]
0x01,0x17,0xfe,0x7f

# CHECK: v_cvt_f32_f16_e32 v5, v255              ; encoding: [0xff,0x17,0x0a,0x7e]
0xff,0x17,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, s1                ; encoding: [0x01,0x16,0x0a,0x7e]
0x01,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, s101              ; encoding: [0x65,0x16,0x0a,0x7e]
0x65,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, flat_scratch_lo   ; encoding: [0x66,0x16,0x0a,0x7e]
0x66,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, flat_scratch_hi   ; encoding: [0x67,0x16,0x0a,0x7e]
0x67,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, vcc_lo            ; encoding: [0x6a,0x16,0x0a,0x7e]
0x6a,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, vcc_hi            ; encoding: [0x6b,0x16,0x0a,0x7e]
0x6b,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, m0                ; encoding: [0x7c,0x16,0x0a,0x7e]
0x7c,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, exec_lo           ; encoding: [0x7e,0x16,0x0a,0x7e]
0x7e,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, exec_hi           ; encoding: [0x7f,0x16,0x0a,0x7e]
0x7f,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, 0                 ; encoding: [0x80,0x16,0x0a,0x7e]
0x80,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, -1                ; encoding: [0xc1,0x16,0x0a,0x7e]
0xc1,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, 0.5               ; encoding: [0xf0,0x16,0x0a,0x7e]
0xf0,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, -4.0              ; encoding: [0xf7,0x16,0x0a,0x7e]
0xf7,0x16,0x0a,0x7e

# CHECK: v_cvt_f32_f16_e32 v5, 0xfe0b            ; encoding: [0xff,0x16,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x16,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_cvt_f32_f16_e32 v5, 0x3456            ; encoding: [0xff,0x16,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x16,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_cvt_rpi_i32_f32_e32 v5, v1            ; encoding: [0x01,0x19,0x0a,0x7e]
0x01,0x19,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v255, v1          ; encoding: [0x01,0x19,0xfe,0x7f]
0x01,0x19,0xfe,0x7f

# CHECK: v_cvt_rpi_i32_f32_e32 v5, v255          ; encoding: [0xff,0x19,0x0a,0x7e]
0xff,0x19,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, s1            ; encoding: [0x01,0x18,0x0a,0x7e]
0x01,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, s101          ; encoding: [0x65,0x18,0x0a,0x7e]
0x65,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, flat_scratch_lo ; encoding: [0x66,0x18,0x0a,0x7e]
0x66,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, flat_scratch_hi ; encoding: [0x67,0x18,0x0a,0x7e]
0x67,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, vcc_lo        ; encoding: [0x6a,0x18,0x0a,0x7e]
0x6a,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, vcc_hi        ; encoding: [0x6b,0x18,0x0a,0x7e]
0x6b,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, m0            ; encoding: [0x7c,0x18,0x0a,0x7e]
0x7c,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, exec_lo       ; encoding: [0x7e,0x18,0x0a,0x7e]
0x7e,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, exec_hi       ; encoding: [0x7f,0x18,0x0a,0x7e]
0x7f,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, 0             ; encoding: [0x80,0x18,0x0a,0x7e]
0x80,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, -1            ; encoding: [0xc1,0x18,0x0a,0x7e]
0xc1,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, 0.5           ; encoding: [0xf0,0x18,0x0a,0x7e]
0xf0,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, -4.0          ; encoding: [0xf7,0x18,0x0a,0x7e]
0xf7,0x18,0x0a,0x7e

# CHECK: v_cvt_rpi_i32_f32_e32 v5, 0xaf123456    ; encoding: [0xff,0x18,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x18,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_rpi_i32_f32_e32 v5, 0x3f717273    ; encoding: [0xff,0x18,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x18,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_flr_i32_f32_e32 v5, v1            ; encoding: [0x01,0x1b,0x0a,0x7e]
0x01,0x1b,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v255, v1          ; encoding: [0x01,0x1b,0xfe,0x7f]
0x01,0x1b,0xfe,0x7f

# CHECK: v_cvt_flr_i32_f32_e32 v5, v255          ; encoding: [0xff,0x1b,0x0a,0x7e]
0xff,0x1b,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, s1            ; encoding: [0x01,0x1a,0x0a,0x7e]
0x01,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, s101          ; encoding: [0x65,0x1a,0x0a,0x7e]
0x65,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, flat_scratch_lo ; encoding: [0x66,0x1a,0x0a,0x7e]
0x66,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, flat_scratch_hi ; encoding: [0x67,0x1a,0x0a,0x7e]
0x67,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, vcc_lo        ; encoding: [0x6a,0x1a,0x0a,0x7e]
0x6a,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, vcc_hi        ; encoding: [0x6b,0x1a,0x0a,0x7e]
0x6b,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, m0            ; encoding: [0x7c,0x1a,0x0a,0x7e]
0x7c,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, exec_lo       ; encoding: [0x7e,0x1a,0x0a,0x7e]
0x7e,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, exec_hi       ; encoding: [0x7f,0x1a,0x0a,0x7e]
0x7f,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, 0             ; encoding: [0x80,0x1a,0x0a,0x7e]
0x80,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, -1            ; encoding: [0xc1,0x1a,0x0a,0x7e]
0xc1,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, 0.5           ; encoding: [0xf0,0x1a,0x0a,0x7e]
0xf0,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, -4.0          ; encoding: [0xf7,0x1a,0x0a,0x7e]
0xf7,0x1a,0x0a,0x7e

# CHECK: v_cvt_flr_i32_f32_e32 v5, 0xaf123456    ; encoding: [0xff,0x1a,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x1a,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_flr_i32_f32_e32 v5, 0x3f717273    ; encoding: [0xff,0x1a,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x1a,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_off_f32_i4_e32 v5, v1             ; encoding: [0x01,0x1d,0x0a,0x7e]
0x01,0x1d,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v255, v1           ; encoding: [0x01,0x1d,0xfe,0x7f]
0x01,0x1d,0xfe,0x7f

# CHECK: v_cvt_off_f32_i4_e32 v5, v255           ; encoding: [0xff,0x1d,0x0a,0x7e]
0xff,0x1d,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, s1             ; encoding: [0x01,0x1c,0x0a,0x7e]
0x01,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, s101           ; encoding: [0x65,0x1c,0x0a,0x7e]
0x65,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, flat_scratch_lo ; encoding: [0x66,0x1c,0x0a,0x7e]
0x66,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, flat_scratch_hi ; encoding: [0x67,0x1c,0x0a,0x7e]
0x67,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, vcc_lo         ; encoding: [0x6a,0x1c,0x0a,0x7e]
0x6a,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, vcc_hi         ; encoding: [0x6b,0x1c,0x0a,0x7e]
0x6b,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, m0             ; encoding: [0x7c,0x1c,0x0a,0x7e]
0x7c,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, exec_lo        ; encoding: [0x7e,0x1c,0x0a,0x7e]
0x7e,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, exec_hi        ; encoding: [0x7f,0x1c,0x0a,0x7e]
0x7f,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, 0              ; encoding: [0x80,0x1c,0x0a,0x7e]
0x80,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, -1             ; encoding: [0xc1,0x1c,0x0a,0x7e]
0xc1,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, 0.5            ; encoding: [0xf0,0x1c,0x0a,0x7e]
0xf0,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, -4.0           ; encoding: [0xf7,0x1c,0x0a,0x7e]
0xf7,0x1c,0x0a,0x7e

# CHECK: v_cvt_off_f32_i4_e32 v5, 0x4f           ; encoding: [0xff,0x1c,0x0a,0x7e,0x4f,0x00,0x00,0x00]
0xff,0x1c,0x0a,0x7e,0x4f,0x00,0x00,0x00

# CHECK: v_cvt_off_f32_i4_e32 v5, 0x41           ; encoding: [0xff,0x1c,0x0a,0x7e,0x41,0x00,0x00,0x00]
0xff,0x1c,0x0a,0x7e,0x41,0x00,0x00,0x00

# CHECK: v_cvt_f32_f64_e32 v5, v[1:2]            ; encoding: [0x01,0x1f,0x0a,0x7e]
0x01,0x1f,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v255, v[1:2]          ; encoding: [0x01,0x1f,0xfe,0x7f]
0x01,0x1f,0xfe,0x7f

# CHECK: v_cvt_f32_f64_e32 v5, v[254:255]        ; encoding: [0xfe,0x1f,0x0a,0x7e]
0xfe,0x1f,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v5, s[2:3]            ; encoding: [0x02,0x1e,0x0a,0x7e]
0x02,0x1e,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v5, s[4:5]            ; encoding: [0x04,0x1e,0x0a,0x7e]
0x04,0x1e,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v5, s[100:101]        ; encoding: [0x64,0x1e,0x0a,0x7e]
0x64,0x1e,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v5, flat_scratch      ; encoding: [0x66,0x1e,0x0a,0x7e]
0x66,0x1e,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v5, vcc               ; encoding: [0x6a,0x1e,0x0a,0x7e]
0x6a,0x1e,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v5, exec              ; encoding: [0x7e,0x1e,0x0a,0x7e]
0x7e,0x1e,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v5, 0                 ; encoding: [0x80,0x1e,0x0a,0x7e]
0x80,0x1e,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v5, -1                ; encoding: [0xc1,0x1e,0x0a,0x7e]
0xc1,0x1e,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v5, 0.5               ; encoding: [0xf0,0x1e,0x0a,0x7e]
0xf0,0x1e,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v5, -4.0              ; encoding: [0xf7,0x1e,0x0a,0x7e]
0xf7,0x1e,0x0a,0x7e

# CHECK: v_cvt_f32_f64_e32 v5, 0xaf123456        ; encoding: [0xff,0x1e,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x1e,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_f32_f64_e32 v5, 0x3f717273        ; encoding: [0xff,0x1e,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x1e,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_f64_f32_e32 v[5:6], v1            ; encoding: [0x01,0x21,0x0a,0x7e]
0x01,0x21,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[254:255], v1        ; encoding: [0x01,0x21,0xfc,0x7f]
0x01,0x21,0xfc,0x7f

# CHECK: v_cvt_f64_f32_e32 v[5:6], v255          ; encoding: [0xff,0x21,0x0a,0x7e]
0xff,0x21,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], s1            ; encoding: [0x01,0x20,0x0a,0x7e]
0x01,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], s101          ; encoding: [0x65,0x20,0x0a,0x7e]
0x65,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], flat_scratch_lo ; encoding: [0x66,0x20,0x0a,0x7e]
0x66,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], flat_scratch_hi ; encoding: [0x67,0x20,0x0a,0x7e]
0x67,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], vcc_lo        ; encoding: [0x6a,0x20,0x0a,0x7e]
0x6a,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], vcc_hi        ; encoding: [0x6b,0x20,0x0a,0x7e]
0x6b,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], m0            ; encoding: [0x7c,0x20,0x0a,0x7e]
0x7c,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], exec_lo       ; encoding: [0x7e,0x20,0x0a,0x7e]
0x7e,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], exec_hi       ; encoding: [0x7f,0x20,0x0a,0x7e]
0x7f,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], 0             ; encoding: [0x80,0x20,0x0a,0x7e]
0x80,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], -1            ; encoding: [0xc1,0x20,0x0a,0x7e]
0xc1,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], 0.5           ; encoding: [0xf0,0x20,0x0a,0x7e]
0xf0,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], -4.0          ; encoding: [0xf7,0x20,0x0a,0x7e]
0xf7,0x20,0x0a,0x7e

# CHECK: v_cvt_f64_f32_e32 v[5:6], 0xaf123456    ; encoding: [0xff,0x20,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x20,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_f64_f32_e32 v[5:6], 0x3f717273    ; encoding: [0xff,0x20,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x20,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_f32_ubyte0_e32 v5, v1             ; encoding: [0x01,0x23,0x0a,0x7e]
0x01,0x23,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v255, v1           ; encoding: [0x01,0x23,0xfe,0x7f]
0x01,0x23,0xfe,0x7f

# CHECK: v_cvt_f32_ubyte0_e32 v5, v255           ; encoding: [0xff,0x23,0x0a,0x7e]
0xff,0x23,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, s1             ; encoding: [0x01,0x22,0x0a,0x7e]
0x01,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, s101           ; encoding: [0x65,0x22,0x0a,0x7e]
0x65,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, flat_scratch_lo ; encoding: [0x66,0x22,0x0a,0x7e]
0x66,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, flat_scratch_hi ; encoding: [0x67,0x22,0x0a,0x7e]
0x67,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, vcc_lo         ; encoding: [0x6a,0x22,0x0a,0x7e]
0x6a,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, vcc_hi         ; encoding: [0x6b,0x22,0x0a,0x7e]
0x6b,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, m0             ; encoding: [0x7c,0x22,0x0a,0x7e]
0x7c,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, exec_lo        ; encoding: [0x7e,0x22,0x0a,0x7e]
0x7e,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, exec_hi        ; encoding: [0x7f,0x22,0x0a,0x7e]
0x7f,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, 0              ; encoding: [0x80,0x22,0x0a,0x7e]
0x80,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, -1             ; encoding: [0xc1,0x22,0x0a,0x7e]
0xc1,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, 0.5            ; encoding: [0xf0,0x22,0x0a,0x7e]
0xf0,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, -4.0           ; encoding: [0xf7,0x22,0x0a,0x7e]
0xf7,0x22,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte0_e32 v5, 0xaf123456     ; encoding: [0xff,0x22,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x22,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_f32_ubyte0_e32 v5, 0x3f717273     ; encoding: [0xff,0x22,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x22,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_f32_ubyte1_e32 v5, v1             ; encoding: [0x01,0x25,0x0a,0x7e]
0x01,0x25,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v255, v1           ; encoding: [0x01,0x25,0xfe,0x7f]
0x01,0x25,0xfe,0x7f

# CHECK: v_cvt_f32_ubyte1_e32 v5, v255           ; encoding: [0xff,0x25,0x0a,0x7e]
0xff,0x25,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, s1             ; encoding: [0x01,0x24,0x0a,0x7e]
0x01,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, s101           ; encoding: [0x65,0x24,0x0a,0x7e]
0x65,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, flat_scratch_lo ; encoding: [0x66,0x24,0x0a,0x7e]
0x66,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, flat_scratch_hi ; encoding: [0x67,0x24,0x0a,0x7e]
0x67,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, vcc_lo         ; encoding: [0x6a,0x24,0x0a,0x7e]
0x6a,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, vcc_hi         ; encoding: [0x6b,0x24,0x0a,0x7e]
0x6b,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, m0             ; encoding: [0x7c,0x24,0x0a,0x7e]
0x7c,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, exec_lo        ; encoding: [0x7e,0x24,0x0a,0x7e]
0x7e,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, exec_hi        ; encoding: [0x7f,0x24,0x0a,0x7e]
0x7f,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, 0              ; encoding: [0x80,0x24,0x0a,0x7e]
0x80,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, -1             ; encoding: [0xc1,0x24,0x0a,0x7e]
0xc1,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, 0.5            ; encoding: [0xf0,0x24,0x0a,0x7e]
0xf0,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, -4.0           ; encoding: [0xf7,0x24,0x0a,0x7e]
0xf7,0x24,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte1_e32 v5, 0xaf123456     ; encoding: [0xff,0x24,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x24,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_f32_ubyte1_e32 v5, 0x3f717273     ; encoding: [0xff,0x24,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x24,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_f32_ubyte2_e32 v5, v1             ; encoding: [0x01,0x27,0x0a,0x7e]
0x01,0x27,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v255, v1           ; encoding: [0x01,0x27,0xfe,0x7f]
0x01,0x27,0xfe,0x7f

# CHECK: v_cvt_f32_ubyte2_e32 v5, v255           ; encoding: [0xff,0x27,0x0a,0x7e]
0xff,0x27,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, s1             ; encoding: [0x01,0x26,0x0a,0x7e]
0x01,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, s101           ; encoding: [0x65,0x26,0x0a,0x7e]
0x65,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, flat_scratch_lo ; encoding: [0x66,0x26,0x0a,0x7e]
0x66,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, flat_scratch_hi ; encoding: [0x67,0x26,0x0a,0x7e]
0x67,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, vcc_lo         ; encoding: [0x6a,0x26,0x0a,0x7e]
0x6a,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, vcc_hi         ; encoding: [0x6b,0x26,0x0a,0x7e]
0x6b,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, m0             ; encoding: [0x7c,0x26,0x0a,0x7e]
0x7c,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, exec_lo        ; encoding: [0x7e,0x26,0x0a,0x7e]
0x7e,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, exec_hi        ; encoding: [0x7f,0x26,0x0a,0x7e]
0x7f,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, 0              ; encoding: [0x80,0x26,0x0a,0x7e]
0x80,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, -1             ; encoding: [0xc1,0x26,0x0a,0x7e]
0xc1,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, 0.5            ; encoding: [0xf0,0x26,0x0a,0x7e]
0xf0,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, -4.0           ; encoding: [0xf7,0x26,0x0a,0x7e]
0xf7,0x26,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte2_e32 v5, 0xaf123456     ; encoding: [0xff,0x26,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x26,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_f32_ubyte2_e32 v5, 0x3f717273     ; encoding: [0xff,0x26,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x26,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_f32_ubyte3_e32 v5, v1             ; encoding: [0x01,0x29,0x0a,0x7e]
0x01,0x29,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v255, v1           ; encoding: [0x01,0x29,0xfe,0x7f]
0x01,0x29,0xfe,0x7f

# CHECK: v_cvt_f32_ubyte3_e32 v5, v255           ; encoding: [0xff,0x29,0x0a,0x7e]
0xff,0x29,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, s1             ; encoding: [0x01,0x28,0x0a,0x7e]
0x01,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, s101           ; encoding: [0x65,0x28,0x0a,0x7e]
0x65,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, flat_scratch_lo ; encoding: [0x66,0x28,0x0a,0x7e]
0x66,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, flat_scratch_hi ; encoding: [0x67,0x28,0x0a,0x7e]
0x67,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, vcc_lo         ; encoding: [0x6a,0x28,0x0a,0x7e]
0x6a,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, vcc_hi         ; encoding: [0x6b,0x28,0x0a,0x7e]
0x6b,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, m0             ; encoding: [0x7c,0x28,0x0a,0x7e]
0x7c,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, exec_lo        ; encoding: [0x7e,0x28,0x0a,0x7e]
0x7e,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, exec_hi        ; encoding: [0x7f,0x28,0x0a,0x7e]
0x7f,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, 0              ; encoding: [0x80,0x28,0x0a,0x7e]
0x80,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, -1             ; encoding: [0xc1,0x28,0x0a,0x7e]
0xc1,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, 0.5            ; encoding: [0xf0,0x28,0x0a,0x7e]
0xf0,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, -4.0           ; encoding: [0xf7,0x28,0x0a,0x7e]
0xf7,0x28,0x0a,0x7e

# CHECK: v_cvt_f32_ubyte3_e32 v5, 0xaf123456     ; encoding: [0xff,0x28,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x28,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_f32_ubyte3_e32 v5, 0x3f717273     ; encoding: [0xff,0x28,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x28,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_u32_f64_e32 v5, v[1:2]            ; encoding: [0x01,0x2b,0x0a,0x7e]
0x01,0x2b,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v255, v[1:2]          ; encoding: [0x01,0x2b,0xfe,0x7f]
0x01,0x2b,0xfe,0x7f

# CHECK: v_cvt_u32_f64_e32 v5, v[254:255]        ; encoding: [0xfe,0x2b,0x0a,0x7e]
0xfe,0x2b,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v5, s[2:3]            ; encoding: [0x02,0x2a,0x0a,0x7e]
0x02,0x2a,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v5, s[4:5]            ; encoding: [0x04,0x2a,0x0a,0x7e]
0x04,0x2a,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v5, s[100:101]        ; encoding: [0x64,0x2a,0x0a,0x7e]
0x64,0x2a,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v5, flat_scratch      ; encoding: [0x66,0x2a,0x0a,0x7e]
0x66,0x2a,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v5, vcc               ; encoding: [0x6a,0x2a,0x0a,0x7e]
0x6a,0x2a,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v5, exec              ; encoding: [0x7e,0x2a,0x0a,0x7e]
0x7e,0x2a,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v5, 0                 ; encoding: [0x80,0x2a,0x0a,0x7e]
0x80,0x2a,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v5, -1                ; encoding: [0xc1,0x2a,0x0a,0x7e]
0xc1,0x2a,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v5, 0.5               ; encoding: [0xf0,0x2a,0x0a,0x7e]
0xf0,0x2a,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v5, -4.0              ; encoding: [0xf7,0x2a,0x0a,0x7e]
0xf7,0x2a,0x0a,0x7e

# CHECK: v_cvt_u32_f64_e32 v5, 0xaf123456        ; encoding: [0xff,0x2a,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x2a,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_u32_f64_e32 v5, 0x3f717273        ; encoding: [0xff,0x2a,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x2a,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cvt_f64_u32_e32 v[5:6], v1            ; encoding: [0x01,0x2d,0x0a,0x7e]
0x01,0x2d,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[254:255], v1        ; encoding: [0x01,0x2d,0xfc,0x7f]
0x01,0x2d,0xfc,0x7f

# CHECK: v_cvt_f64_u32_e32 v[5:6], v255          ; encoding: [0xff,0x2d,0x0a,0x7e]
0xff,0x2d,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], s1            ; encoding: [0x01,0x2c,0x0a,0x7e]
0x01,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], s101          ; encoding: [0x65,0x2c,0x0a,0x7e]
0x65,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], flat_scratch_lo ; encoding: [0x66,0x2c,0x0a,0x7e]
0x66,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], flat_scratch_hi ; encoding: [0x67,0x2c,0x0a,0x7e]
0x67,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], vcc_lo        ; encoding: [0x6a,0x2c,0x0a,0x7e]
0x6a,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], vcc_hi        ; encoding: [0x6b,0x2c,0x0a,0x7e]
0x6b,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], m0            ; encoding: [0x7c,0x2c,0x0a,0x7e]
0x7c,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], exec_lo       ; encoding: [0x7e,0x2c,0x0a,0x7e]
0x7e,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], exec_hi       ; encoding: [0x7f,0x2c,0x0a,0x7e]
0x7f,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], 0             ; encoding: [0x80,0x2c,0x0a,0x7e]
0x80,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], -1            ; encoding: [0xc1,0x2c,0x0a,0x7e]
0xc1,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], 0.5           ; encoding: [0xf0,0x2c,0x0a,0x7e]
0xf0,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], -4.0          ; encoding: [0xf7,0x2c,0x0a,0x7e]
0xf7,0x2c,0x0a,0x7e

# CHECK: v_cvt_f64_u32_e32 v[5:6], 0xaf123456    ; encoding: [0xff,0x2c,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x2c,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cvt_f64_u32_e32 v[5:6], 0x3f717273    ; encoding: [0xff,0x2c,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x2c,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_trunc_f64_e32 v[5:6], v[1:2]          ; encoding: [0x01,0x2f,0x0a,0x7e]
0x01,0x2f,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[254:255], v[1:2]      ; encoding: [0x01,0x2f,0xfc,0x7f]
0x01,0x2f,0xfc,0x7f

# CHECK: v_trunc_f64_e32 v[5:6], v[254:255]      ; encoding: [0xfe,0x2f,0x0a,0x7e]
0xfe,0x2f,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[5:6], s[2:3]          ; encoding: [0x02,0x2e,0x0a,0x7e]
0x02,0x2e,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[5:6], s[4:5]          ; encoding: [0x04,0x2e,0x0a,0x7e]
0x04,0x2e,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[5:6], s[100:101]      ; encoding: [0x64,0x2e,0x0a,0x7e]
0x64,0x2e,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[5:6], flat_scratch    ; encoding: [0x66,0x2e,0x0a,0x7e]
0x66,0x2e,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[5:6], vcc             ; encoding: [0x6a,0x2e,0x0a,0x7e]
0x6a,0x2e,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[5:6], exec            ; encoding: [0x7e,0x2e,0x0a,0x7e]
0x7e,0x2e,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[5:6], 0               ; encoding: [0x80,0x2e,0x0a,0x7e]
0x80,0x2e,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[5:6], -1              ; encoding: [0xc1,0x2e,0x0a,0x7e]
0xc1,0x2e,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[5:6], 0.5             ; encoding: [0xf0,0x2e,0x0a,0x7e]
0xf0,0x2e,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[5:6], -4.0            ; encoding: [0xf7,0x2e,0x0a,0x7e]
0xf7,0x2e,0x0a,0x7e

# CHECK: v_trunc_f64_e32 v[5:6], 0xaf123456      ; encoding: [0xff,0x2e,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x2e,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_trunc_f64_e32 v[5:6], 0x3f717273      ; encoding: [0xff,0x2e,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x2e,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_ceil_f64_e32 v[5:6], v[1:2]           ; encoding: [0x01,0x31,0x0a,0x7e]
0x01,0x31,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[254:255], v[1:2]       ; encoding: [0x01,0x31,0xfc,0x7f]
0x01,0x31,0xfc,0x7f

# CHECK: v_ceil_f64_e32 v[5:6], v[254:255]       ; encoding: [0xfe,0x31,0x0a,0x7e]
0xfe,0x31,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[5:6], s[2:3]           ; encoding: [0x02,0x30,0x0a,0x7e]
0x02,0x30,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[5:6], s[4:5]           ; encoding: [0x04,0x30,0x0a,0x7e]
0x04,0x30,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[5:6], s[100:101]       ; encoding: [0x64,0x30,0x0a,0x7e]
0x64,0x30,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[5:6], flat_scratch     ; encoding: [0x66,0x30,0x0a,0x7e]
0x66,0x30,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[5:6], vcc              ; encoding: [0x6a,0x30,0x0a,0x7e]
0x6a,0x30,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[5:6], exec             ; encoding: [0x7e,0x30,0x0a,0x7e]
0x7e,0x30,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[5:6], 0                ; encoding: [0x80,0x30,0x0a,0x7e]
0x80,0x30,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[5:6], -1               ; encoding: [0xc1,0x30,0x0a,0x7e]
0xc1,0x30,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[5:6], 0.5              ; encoding: [0xf0,0x30,0x0a,0x7e]
0xf0,0x30,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[5:6], -4.0             ; encoding: [0xf7,0x30,0x0a,0x7e]
0xf7,0x30,0x0a,0x7e

# CHECK: v_ceil_f64_e32 v[5:6], 0xaf123456       ; encoding: [0xff,0x30,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x30,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_ceil_f64_e32 v[5:6], 0x3f717273       ; encoding: [0xff,0x30,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x30,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_rndne_f64_e32 v[5:6], v[1:2]          ; encoding: [0x01,0x33,0x0a,0x7e]
0x01,0x33,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[254:255], v[1:2]      ; encoding: [0x01,0x33,0xfc,0x7f]
0x01,0x33,0xfc,0x7f

# CHECK: v_rndne_f64_e32 v[5:6], v[254:255]      ; encoding: [0xfe,0x33,0x0a,0x7e]
0xfe,0x33,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[5:6], s[2:3]          ; encoding: [0x02,0x32,0x0a,0x7e]
0x02,0x32,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[5:6], s[4:5]          ; encoding: [0x04,0x32,0x0a,0x7e]
0x04,0x32,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[5:6], s[100:101]      ; encoding: [0x64,0x32,0x0a,0x7e]
0x64,0x32,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[5:6], flat_scratch    ; encoding: [0x66,0x32,0x0a,0x7e]
0x66,0x32,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[5:6], vcc             ; encoding: [0x6a,0x32,0x0a,0x7e]
0x6a,0x32,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[5:6], exec            ; encoding: [0x7e,0x32,0x0a,0x7e]
0x7e,0x32,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[5:6], 0               ; encoding: [0x80,0x32,0x0a,0x7e]
0x80,0x32,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[5:6], -1              ; encoding: [0xc1,0x32,0x0a,0x7e]
0xc1,0x32,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[5:6], 0.5             ; encoding: [0xf0,0x32,0x0a,0x7e]
0xf0,0x32,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[5:6], -4.0            ; encoding: [0xf7,0x32,0x0a,0x7e]
0xf7,0x32,0x0a,0x7e

# CHECK: v_rndne_f64_e32 v[5:6], 0xaf123456      ; encoding: [0xff,0x32,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x32,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_rndne_f64_e32 v[5:6], 0x3f717273      ; encoding: [0xff,0x32,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x32,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_floor_f64_e32 v[5:6], v[1:2]          ; encoding: [0x01,0x35,0x0a,0x7e]
0x01,0x35,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[254:255], v[1:2]      ; encoding: [0x01,0x35,0xfc,0x7f]
0x01,0x35,0xfc,0x7f

# CHECK: v_floor_f64_e32 v[5:6], v[254:255]      ; encoding: [0xfe,0x35,0x0a,0x7e]
0xfe,0x35,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[5:6], s[2:3]          ; encoding: [0x02,0x34,0x0a,0x7e]
0x02,0x34,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[5:6], s[4:5]          ; encoding: [0x04,0x34,0x0a,0x7e]
0x04,0x34,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[5:6], s[100:101]      ; encoding: [0x64,0x34,0x0a,0x7e]
0x64,0x34,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[5:6], flat_scratch    ; encoding: [0x66,0x34,0x0a,0x7e]
0x66,0x34,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[5:6], vcc             ; encoding: [0x6a,0x34,0x0a,0x7e]
0x6a,0x34,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[5:6], exec            ; encoding: [0x7e,0x34,0x0a,0x7e]
0x7e,0x34,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[5:6], 0               ; encoding: [0x80,0x34,0x0a,0x7e]
0x80,0x34,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[5:6], -1              ; encoding: [0xc1,0x34,0x0a,0x7e]
0xc1,0x34,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[5:6], 0.5             ; encoding: [0xf0,0x34,0x0a,0x7e]
0xf0,0x34,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[5:6], -4.0            ; encoding: [0xf7,0x34,0x0a,0x7e]
0xf7,0x34,0x0a,0x7e

# CHECK: v_floor_f64_e32 v[5:6], 0xaf123456      ; encoding: [0xff,0x34,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x34,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_floor_f64_e32 v[5:6], 0x3f717273      ; encoding: [0xff,0x34,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x34,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_fract_f32_e32 v5, v1                  ; encoding: [0x01,0x37,0x0a,0x7e]
0x01,0x37,0x0a,0x7e

# CHECK: v_fract_f32_e32 v255, v1                ; encoding: [0x01,0x37,0xfe,0x7f]
0x01,0x37,0xfe,0x7f

# CHECK: v_fract_f32_e32 v5, v255                ; encoding: [0xff,0x37,0x0a,0x7e]
0xff,0x37,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, s1                  ; encoding: [0x01,0x36,0x0a,0x7e]
0x01,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, s101                ; encoding: [0x65,0x36,0x0a,0x7e]
0x65,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, flat_scratch_lo     ; encoding: [0x66,0x36,0x0a,0x7e]
0x66,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, flat_scratch_hi     ; encoding: [0x67,0x36,0x0a,0x7e]
0x67,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, vcc_lo              ; encoding: [0x6a,0x36,0x0a,0x7e]
0x6a,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, vcc_hi              ; encoding: [0x6b,0x36,0x0a,0x7e]
0x6b,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, m0                  ; encoding: [0x7c,0x36,0x0a,0x7e]
0x7c,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, exec_lo             ; encoding: [0x7e,0x36,0x0a,0x7e]
0x7e,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, exec_hi             ; encoding: [0x7f,0x36,0x0a,0x7e]
0x7f,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, 0                   ; encoding: [0x80,0x36,0x0a,0x7e]
0x80,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, -1                  ; encoding: [0xc1,0x36,0x0a,0x7e]
0xc1,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, 0.5                 ; encoding: [0xf0,0x36,0x0a,0x7e]
0xf0,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, -4.0                ; encoding: [0xf7,0x36,0x0a,0x7e]
0xf7,0x36,0x0a,0x7e

# CHECK: v_fract_f32_e32 v5, 0xaf123456          ; encoding: [0xff,0x36,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x36,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_fract_f32_e32 v5, 0x3f717273          ; encoding: [0xff,0x36,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x36,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_trunc_f32_e32 v5, v1                  ; encoding: [0x01,0x39,0x0a,0x7e]
0x01,0x39,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v255, v1                ; encoding: [0x01,0x39,0xfe,0x7f]
0x01,0x39,0xfe,0x7f

# CHECK: v_trunc_f32_e32 v5, v255                ; encoding: [0xff,0x39,0x0a,0x7e]
0xff,0x39,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, s1                  ; encoding: [0x01,0x38,0x0a,0x7e]
0x01,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, s101                ; encoding: [0x65,0x38,0x0a,0x7e]
0x65,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, flat_scratch_lo     ; encoding: [0x66,0x38,0x0a,0x7e]
0x66,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, flat_scratch_hi     ; encoding: [0x67,0x38,0x0a,0x7e]
0x67,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, vcc_lo              ; encoding: [0x6a,0x38,0x0a,0x7e]
0x6a,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, vcc_hi              ; encoding: [0x6b,0x38,0x0a,0x7e]
0x6b,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, m0                  ; encoding: [0x7c,0x38,0x0a,0x7e]
0x7c,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, exec_lo             ; encoding: [0x7e,0x38,0x0a,0x7e]
0x7e,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, exec_hi             ; encoding: [0x7f,0x38,0x0a,0x7e]
0x7f,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, 0                   ; encoding: [0x80,0x38,0x0a,0x7e]
0x80,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, -1                  ; encoding: [0xc1,0x38,0x0a,0x7e]
0xc1,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, 0.5                 ; encoding: [0xf0,0x38,0x0a,0x7e]
0xf0,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, -4.0                ; encoding: [0xf7,0x38,0x0a,0x7e]
0xf7,0x38,0x0a,0x7e

# CHECK: v_trunc_f32_e32 v5, 0xaf123456          ; encoding: [0xff,0x38,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x38,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_trunc_f32_e32 v5, 0x3f717273          ; encoding: [0xff,0x38,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x38,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_ceil_f32_e32 v5, v1                   ; encoding: [0x01,0x3b,0x0a,0x7e]
0x01,0x3b,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v255, v1                 ; encoding: [0x01,0x3b,0xfe,0x7f]
0x01,0x3b,0xfe,0x7f

# CHECK: v_ceil_f32_e32 v5, v255                 ; encoding: [0xff,0x3b,0x0a,0x7e]
0xff,0x3b,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, s1                   ; encoding: [0x01,0x3a,0x0a,0x7e]
0x01,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, s101                 ; encoding: [0x65,0x3a,0x0a,0x7e]
0x65,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, flat_scratch_lo      ; encoding: [0x66,0x3a,0x0a,0x7e]
0x66,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, flat_scratch_hi      ; encoding: [0x67,0x3a,0x0a,0x7e]
0x67,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, vcc_lo               ; encoding: [0x6a,0x3a,0x0a,0x7e]
0x6a,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, vcc_hi               ; encoding: [0x6b,0x3a,0x0a,0x7e]
0x6b,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, m0                   ; encoding: [0x7c,0x3a,0x0a,0x7e]
0x7c,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, exec_lo              ; encoding: [0x7e,0x3a,0x0a,0x7e]
0x7e,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, exec_hi              ; encoding: [0x7f,0x3a,0x0a,0x7e]
0x7f,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, 0                    ; encoding: [0x80,0x3a,0x0a,0x7e]
0x80,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, -1                   ; encoding: [0xc1,0x3a,0x0a,0x7e]
0xc1,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, 0.5                  ; encoding: [0xf0,0x3a,0x0a,0x7e]
0xf0,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, -4.0                 ; encoding: [0xf7,0x3a,0x0a,0x7e]
0xf7,0x3a,0x0a,0x7e

# CHECK: v_ceil_f32_e32 v5, 0xaf123456           ; encoding: [0xff,0x3a,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x3a,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_ceil_f32_e32 v5, 0x3f717273           ; encoding: [0xff,0x3a,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x3a,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_rndne_f32_e32 v5, v1                  ; encoding: [0x01,0x3d,0x0a,0x7e]
0x01,0x3d,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v255, v1                ; encoding: [0x01,0x3d,0xfe,0x7f]
0x01,0x3d,0xfe,0x7f

# CHECK: v_rndne_f32_e32 v5, v255                ; encoding: [0xff,0x3d,0x0a,0x7e]
0xff,0x3d,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, s1                  ; encoding: [0x01,0x3c,0x0a,0x7e]
0x01,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, s101                ; encoding: [0x65,0x3c,0x0a,0x7e]
0x65,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, flat_scratch_lo     ; encoding: [0x66,0x3c,0x0a,0x7e]
0x66,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, flat_scratch_hi     ; encoding: [0x67,0x3c,0x0a,0x7e]
0x67,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, vcc_lo              ; encoding: [0x6a,0x3c,0x0a,0x7e]
0x6a,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, vcc_hi              ; encoding: [0x6b,0x3c,0x0a,0x7e]
0x6b,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, m0                  ; encoding: [0x7c,0x3c,0x0a,0x7e]
0x7c,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, exec_lo             ; encoding: [0x7e,0x3c,0x0a,0x7e]
0x7e,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, exec_hi             ; encoding: [0x7f,0x3c,0x0a,0x7e]
0x7f,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, 0                   ; encoding: [0x80,0x3c,0x0a,0x7e]
0x80,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, -1                  ; encoding: [0xc1,0x3c,0x0a,0x7e]
0xc1,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, 0.5                 ; encoding: [0xf0,0x3c,0x0a,0x7e]
0xf0,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, -4.0                ; encoding: [0xf7,0x3c,0x0a,0x7e]
0xf7,0x3c,0x0a,0x7e

# CHECK: v_rndne_f32_e32 v5, 0xaf123456          ; encoding: [0xff,0x3c,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x3c,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_rndne_f32_e32 v5, 0x3f717273          ; encoding: [0xff,0x3c,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x3c,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_floor_f32_e32 v5, v1                  ; encoding: [0x01,0x3f,0x0a,0x7e]
0x01,0x3f,0x0a,0x7e

# CHECK: v_floor_f32_e32 v255, v1                ; encoding: [0x01,0x3f,0xfe,0x7f]
0x01,0x3f,0xfe,0x7f

# CHECK: v_floor_f32_e32 v5, v255                ; encoding: [0xff,0x3f,0x0a,0x7e]
0xff,0x3f,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, s1                  ; encoding: [0x01,0x3e,0x0a,0x7e]
0x01,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, s101                ; encoding: [0x65,0x3e,0x0a,0x7e]
0x65,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, flat_scratch_lo     ; encoding: [0x66,0x3e,0x0a,0x7e]
0x66,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, flat_scratch_hi     ; encoding: [0x67,0x3e,0x0a,0x7e]
0x67,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, vcc_lo              ; encoding: [0x6a,0x3e,0x0a,0x7e]
0x6a,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, vcc_hi              ; encoding: [0x6b,0x3e,0x0a,0x7e]
0x6b,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, m0                  ; encoding: [0x7c,0x3e,0x0a,0x7e]
0x7c,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, exec_lo             ; encoding: [0x7e,0x3e,0x0a,0x7e]
0x7e,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, exec_hi             ; encoding: [0x7f,0x3e,0x0a,0x7e]
0x7f,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, 0                   ; encoding: [0x80,0x3e,0x0a,0x7e]
0x80,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, -1                  ; encoding: [0xc1,0x3e,0x0a,0x7e]
0xc1,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, 0.5                 ; encoding: [0xf0,0x3e,0x0a,0x7e]
0xf0,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, -4.0                ; encoding: [0xf7,0x3e,0x0a,0x7e]
0xf7,0x3e,0x0a,0x7e

# CHECK: v_floor_f32_e32 v5, 0xaf123456          ; encoding: [0xff,0x3e,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x3e,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_floor_f32_e32 v5, 0x3f717273          ; encoding: [0xff,0x3e,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x3e,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_exp_f32_e32 v5, v1                    ; encoding: [0x01,0x41,0x0a,0x7e]
0x01,0x41,0x0a,0x7e

# CHECK: v_exp_f32_e32 v255, v1                  ; encoding: [0x01,0x41,0xfe,0x7f]
0x01,0x41,0xfe,0x7f

# CHECK: v_exp_f32_e32 v5, v255                  ; encoding: [0xff,0x41,0x0a,0x7e]
0xff,0x41,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, s1                    ; encoding: [0x01,0x40,0x0a,0x7e]
0x01,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, s101                  ; encoding: [0x65,0x40,0x0a,0x7e]
0x65,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x40,0x0a,0x7e]
0x66,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x40,0x0a,0x7e]
0x67,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, vcc_lo                ; encoding: [0x6a,0x40,0x0a,0x7e]
0x6a,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, vcc_hi                ; encoding: [0x6b,0x40,0x0a,0x7e]
0x6b,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, m0                    ; encoding: [0x7c,0x40,0x0a,0x7e]
0x7c,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, exec_lo               ; encoding: [0x7e,0x40,0x0a,0x7e]
0x7e,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, exec_hi               ; encoding: [0x7f,0x40,0x0a,0x7e]
0x7f,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, 0                     ; encoding: [0x80,0x40,0x0a,0x7e]
0x80,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, -1                    ; encoding: [0xc1,0x40,0x0a,0x7e]
0xc1,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, 0.5                   ; encoding: [0xf0,0x40,0x0a,0x7e]
0xf0,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, -4.0                  ; encoding: [0xf7,0x40,0x0a,0x7e]
0xf7,0x40,0x0a,0x7e

# CHECK: v_exp_f32_e32 v5, 0xaf123456            ; encoding: [0xff,0x40,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x40,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_exp_f32_e32 v5, 0x3f717273            ; encoding: [0xff,0x40,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x40,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_log_f32_e32 v5, v1                    ; encoding: [0x01,0x43,0x0a,0x7e]
0x01,0x43,0x0a,0x7e

# CHECK: v_log_f32_e32 v255, v1                  ; encoding: [0x01,0x43,0xfe,0x7f]
0x01,0x43,0xfe,0x7f

# CHECK: v_log_f32_e32 v5, v255                  ; encoding: [0xff,0x43,0x0a,0x7e]
0xff,0x43,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, s1                    ; encoding: [0x01,0x42,0x0a,0x7e]
0x01,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, s101                  ; encoding: [0x65,0x42,0x0a,0x7e]
0x65,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x42,0x0a,0x7e]
0x66,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x42,0x0a,0x7e]
0x67,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, vcc_lo                ; encoding: [0x6a,0x42,0x0a,0x7e]
0x6a,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, vcc_hi                ; encoding: [0x6b,0x42,0x0a,0x7e]
0x6b,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, m0                    ; encoding: [0x7c,0x42,0x0a,0x7e]
0x7c,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, exec_lo               ; encoding: [0x7e,0x42,0x0a,0x7e]
0x7e,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, exec_hi               ; encoding: [0x7f,0x42,0x0a,0x7e]
0x7f,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, 0                     ; encoding: [0x80,0x42,0x0a,0x7e]
0x80,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, -1                    ; encoding: [0xc1,0x42,0x0a,0x7e]
0xc1,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, 0.5                   ; encoding: [0xf0,0x42,0x0a,0x7e]
0xf0,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, -4.0                  ; encoding: [0xf7,0x42,0x0a,0x7e]
0xf7,0x42,0x0a,0x7e

# CHECK: v_log_f32_e32 v5, 0xaf123456            ; encoding: [0xff,0x42,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x42,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_log_f32_e32 v5, 0x3f717273            ; encoding: [0xff,0x42,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x42,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_rcp_f32_e32 v5, v1                    ; encoding: [0x01,0x45,0x0a,0x7e]
0x01,0x45,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v255, v1                  ; encoding: [0x01,0x45,0xfe,0x7f]
0x01,0x45,0xfe,0x7f

# CHECK: v_rcp_f32_e32 v5, v255                  ; encoding: [0xff,0x45,0x0a,0x7e]
0xff,0x45,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, s1                    ; encoding: [0x01,0x44,0x0a,0x7e]
0x01,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, s101                  ; encoding: [0x65,0x44,0x0a,0x7e]
0x65,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x44,0x0a,0x7e]
0x66,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x44,0x0a,0x7e]
0x67,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, vcc_lo                ; encoding: [0x6a,0x44,0x0a,0x7e]
0x6a,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, vcc_hi                ; encoding: [0x6b,0x44,0x0a,0x7e]
0x6b,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, m0                    ; encoding: [0x7c,0x44,0x0a,0x7e]
0x7c,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, exec_lo               ; encoding: [0x7e,0x44,0x0a,0x7e]
0x7e,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, exec_hi               ; encoding: [0x7f,0x44,0x0a,0x7e]
0x7f,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, 0                     ; encoding: [0x80,0x44,0x0a,0x7e]
0x80,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, -1                    ; encoding: [0xc1,0x44,0x0a,0x7e]
0xc1,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, 0.5                   ; encoding: [0xf0,0x44,0x0a,0x7e]
0xf0,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, -4.0                  ; encoding: [0xf7,0x44,0x0a,0x7e]
0xf7,0x44,0x0a,0x7e

# CHECK: v_rcp_f32_e32 v5, 0xaf123456            ; encoding: [0xff,0x44,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x44,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_rcp_f32_e32 v5, 0x3f717273            ; encoding: [0xff,0x44,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x44,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_rcp_iflag_f32_e32 v5, v1              ; encoding: [0x01,0x47,0x0a,0x7e]
0x01,0x47,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v255, v1            ; encoding: [0x01,0x47,0xfe,0x7f]
0x01,0x47,0xfe,0x7f

# CHECK: v_rcp_iflag_f32_e32 v5, v255            ; encoding: [0xff,0x47,0x0a,0x7e]
0xff,0x47,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, s1              ; encoding: [0x01,0x46,0x0a,0x7e]
0x01,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, s101            ; encoding: [0x65,0x46,0x0a,0x7e]
0x65,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, flat_scratch_lo ; encoding: [0x66,0x46,0x0a,0x7e]
0x66,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, flat_scratch_hi ; encoding: [0x67,0x46,0x0a,0x7e]
0x67,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, vcc_lo          ; encoding: [0x6a,0x46,0x0a,0x7e]
0x6a,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, vcc_hi          ; encoding: [0x6b,0x46,0x0a,0x7e]
0x6b,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, m0              ; encoding: [0x7c,0x46,0x0a,0x7e]
0x7c,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, exec_lo         ; encoding: [0x7e,0x46,0x0a,0x7e]
0x7e,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, exec_hi         ; encoding: [0x7f,0x46,0x0a,0x7e]
0x7f,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, 0               ; encoding: [0x80,0x46,0x0a,0x7e]
0x80,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, -1              ; encoding: [0xc1,0x46,0x0a,0x7e]
0xc1,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, 0.5             ; encoding: [0xf0,0x46,0x0a,0x7e]
0xf0,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, -4.0            ; encoding: [0xf7,0x46,0x0a,0x7e]
0xf7,0x46,0x0a,0x7e

# CHECK: v_rcp_iflag_f32_e32 v5, 0xaf123456      ; encoding: [0xff,0x46,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x46,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_rcp_iflag_f32_e32 v5, 0x3f717273      ; encoding: [0xff,0x46,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x46,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_rsq_f32_e32 v5, v1                    ; encoding: [0x01,0x49,0x0a,0x7e]
0x01,0x49,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v255, v1                  ; encoding: [0x01,0x49,0xfe,0x7f]
0x01,0x49,0xfe,0x7f

# CHECK: v_rsq_f32_e32 v5, v255                  ; encoding: [0xff,0x49,0x0a,0x7e]
0xff,0x49,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, s1                    ; encoding: [0x01,0x48,0x0a,0x7e]
0x01,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, s101                  ; encoding: [0x65,0x48,0x0a,0x7e]
0x65,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x48,0x0a,0x7e]
0x66,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x48,0x0a,0x7e]
0x67,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, vcc_lo                ; encoding: [0x6a,0x48,0x0a,0x7e]
0x6a,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, vcc_hi                ; encoding: [0x6b,0x48,0x0a,0x7e]
0x6b,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, m0                    ; encoding: [0x7c,0x48,0x0a,0x7e]
0x7c,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, exec_lo               ; encoding: [0x7e,0x48,0x0a,0x7e]
0x7e,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, exec_hi               ; encoding: [0x7f,0x48,0x0a,0x7e]
0x7f,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, 0                     ; encoding: [0x80,0x48,0x0a,0x7e]
0x80,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, -1                    ; encoding: [0xc1,0x48,0x0a,0x7e]
0xc1,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, 0.5                   ; encoding: [0xf0,0x48,0x0a,0x7e]
0xf0,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, -4.0                  ; encoding: [0xf7,0x48,0x0a,0x7e]
0xf7,0x48,0x0a,0x7e

# CHECK: v_rsq_f32_e32 v5, 0xaf123456            ; encoding: [0xff,0x48,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x48,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_rsq_f32_e32 v5, 0x3f717273            ; encoding: [0xff,0x48,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x48,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_rcp_f64_e32 v[5:6], v[1:2]            ; encoding: [0x01,0x4b,0x0a,0x7e]
0x01,0x4b,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[254:255], v[1:2]        ; encoding: [0x01,0x4b,0xfc,0x7f]
0x01,0x4b,0xfc,0x7f

# CHECK: v_rcp_f64_e32 v[5:6], v[254:255]        ; encoding: [0xfe,0x4b,0x0a,0x7e]
0xfe,0x4b,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[5:6], s[2:3]            ; encoding: [0x02,0x4a,0x0a,0x7e]
0x02,0x4a,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[5:6], s[4:5]            ; encoding: [0x04,0x4a,0x0a,0x7e]
0x04,0x4a,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[5:6], s[100:101]        ; encoding: [0x64,0x4a,0x0a,0x7e]
0x64,0x4a,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[5:6], flat_scratch      ; encoding: [0x66,0x4a,0x0a,0x7e]
0x66,0x4a,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[5:6], vcc               ; encoding: [0x6a,0x4a,0x0a,0x7e]
0x6a,0x4a,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[5:6], exec              ; encoding: [0x7e,0x4a,0x0a,0x7e]
0x7e,0x4a,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[5:6], 0                 ; encoding: [0x80,0x4a,0x0a,0x7e]
0x80,0x4a,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[5:6], -1                ; encoding: [0xc1,0x4a,0x0a,0x7e]
0xc1,0x4a,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[5:6], 0.5               ; encoding: [0xf0,0x4a,0x0a,0x7e]
0xf0,0x4a,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[5:6], -4.0              ; encoding: [0xf7,0x4a,0x0a,0x7e]
0xf7,0x4a,0x0a,0x7e

# CHECK: v_rcp_f64_e32 v[5:6], 0xaf123456        ; encoding: [0xff,0x4a,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x4a,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_rcp_f64_e32 v[5:6], 0x3f717273        ; encoding: [0xff,0x4a,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x4a,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_rsq_f64_e32 v[5:6], v[1:2]            ; encoding: [0x01,0x4d,0x0a,0x7e]
0x01,0x4d,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[254:255], v[1:2]        ; encoding: [0x01,0x4d,0xfc,0x7f]
0x01,0x4d,0xfc,0x7f

# CHECK: v_rsq_f64_e32 v[5:6], v[254:255]        ; encoding: [0xfe,0x4d,0x0a,0x7e]
0xfe,0x4d,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[5:6], s[2:3]            ; encoding: [0x02,0x4c,0x0a,0x7e]
0x02,0x4c,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[5:6], s[4:5]            ; encoding: [0x04,0x4c,0x0a,0x7e]
0x04,0x4c,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[5:6], s[100:101]        ; encoding: [0x64,0x4c,0x0a,0x7e]
0x64,0x4c,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[5:6], flat_scratch      ; encoding: [0x66,0x4c,0x0a,0x7e]
0x66,0x4c,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[5:6], vcc               ; encoding: [0x6a,0x4c,0x0a,0x7e]
0x6a,0x4c,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[5:6], exec              ; encoding: [0x7e,0x4c,0x0a,0x7e]
0x7e,0x4c,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[5:6], 0                 ; encoding: [0x80,0x4c,0x0a,0x7e]
0x80,0x4c,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[5:6], -1                ; encoding: [0xc1,0x4c,0x0a,0x7e]
0xc1,0x4c,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[5:6], 0.5               ; encoding: [0xf0,0x4c,0x0a,0x7e]
0xf0,0x4c,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[5:6], -4.0              ; encoding: [0xf7,0x4c,0x0a,0x7e]
0xf7,0x4c,0x0a,0x7e

# CHECK: v_rsq_f64_e32 v[5:6], 0xaf123456        ; encoding: [0xff,0x4c,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x4c,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_rsq_f64_e32 v[5:6], 0x3f717273        ; encoding: [0xff,0x4c,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x4c,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_sqrt_f32_e32 v5, v1                   ; encoding: [0x01,0x4f,0x0a,0x7e]
0x01,0x4f,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v255, v1                 ; encoding: [0x01,0x4f,0xfe,0x7f]
0x01,0x4f,0xfe,0x7f

# CHECK: v_sqrt_f32_e32 v5, v255                 ; encoding: [0xff,0x4f,0x0a,0x7e]
0xff,0x4f,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, s1                   ; encoding: [0x01,0x4e,0x0a,0x7e]
0x01,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, s101                 ; encoding: [0x65,0x4e,0x0a,0x7e]
0x65,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, flat_scratch_lo      ; encoding: [0x66,0x4e,0x0a,0x7e]
0x66,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, flat_scratch_hi      ; encoding: [0x67,0x4e,0x0a,0x7e]
0x67,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, vcc_lo               ; encoding: [0x6a,0x4e,0x0a,0x7e]
0x6a,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, vcc_hi               ; encoding: [0x6b,0x4e,0x0a,0x7e]
0x6b,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, m0                   ; encoding: [0x7c,0x4e,0x0a,0x7e]
0x7c,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, exec_lo              ; encoding: [0x7e,0x4e,0x0a,0x7e]
0x7e,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, exec_hi              ; encoding: [0x7f,0x4e,0x0a,0x7e]
0x7f,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, 0                    ; encoding: [0x80,0x4e,0x0a,0x7e]
0x80,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, -1                   ; encoding: [0xc1,0x4e,0x0a,0x7e]
0xc1,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, 0.5                  ; encoding: [0xf0,0x4e,0x0a,0x7e]
0xf0,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, -4.0                 ; encoding: [0xf7,0x4e,0x0a,0x7e]
0xf7,0x4e,0x0a,0x7e

# CHECK: v_sqrt_f32_e32 v5, 0xaf123456           ; encoding: [0xff,0x4e,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x4e,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_sqrt_f32_e32 v5, 0x3f717273           ; encoding: [0xff,0x4e,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x4e,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_sqrt_f64_e32 v[5:6], v[1:2]           ; encoding: [0x01,0x51,0x0a,0x7e]
0x01,0x51,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[254:255], v[1:2]       ; encoding: [0x01,0x51,0xfc,0x7f]
0x01,0x51,0xfc,0x7f

# CHECK: v_sqrt_f64_e32 v[5:6], v[254:255]       ; encoding: [0xfe,0x51,0x0a,0x7e]
0xfe,0x51,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[5:6], s[2:3]           ; encoding: [0x02,0x50,0x0a,0x7e]
0x02,0x50,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[5:6], s[4:5]           ; encoding: [0x04,0x50,0x0a,0x7e]
0x04,0x50,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[5:6], s[100:101]       ; encoding: [0x64,0x50,0x0a,0x7e]
0x64,0x50,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[5:6], flat_scratch     ; encoding: [0x66,0x50,0x0a,0x7e]
0x66,0x50,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[5:6], vcc              ; encoding: [0x6a,0x50,0x0a,0x7e]
0x6a,0x50,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[5:6], exec             ; encoding: [0x7e,0x50,0x0a,0x7e]
0x7e,0x50,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[5:6], 0                ; encoding: [0x80,0x50,0x0a,0x7e]
0x80,0x50,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[5:6], -1               ; encoding: [0xc1,0x50,0x0a,0x7e]
0xc1,0x50,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[5:6], 0.5              ; encoding: [0xf0,0x50,0x0a,0x7e]
0xf0,0x50,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[5:6], -4.0             ; encoding: [0xf7,0x50,0x0a,0x7e]
0xf7,0x50,0x0a,0x7e

# CHECK: v_sqrt_f64_e32 v[5:6], 0xaf123456       ; encoding: [0xff,0x50,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x50,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_sqrt_f64_e32 v[5:6], 0x3f717273       ; encoding: [0xff,0x50,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x50,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_sin_f32_e32 v5, v1                    ; encoding: [0x01,0x53,0x0a,0x7e]
0x01,0x53,0x0a,0x7e

# CHECK: v_sin_f32_e32 v255, v1                  ; encoding: [0x01,0x53,0xfe,0x7f]
0x01,0x53,0xfe,0x7f

# CHECK: v_sin_f32_e32 v5, v255                  ; encoding: [0xff,0x53,0x0a,0x7e]
0xff,0x53,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, s1                    ; encoding: [0x01,0x52,0x0a,0x7e]
0x01,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, s101                  ; encoding: [0x65,0x52,0x0a,0x7e]
0x65,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x52,0x0a,0x7e]
0x66,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x52,0x0a,0x7e]
0x67,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, vcc_lo                ; encoding: [0x6a,0x52,0x0a,0x7e]
0x6a,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, vcc_hi                ; encoding: [0x6b,0x52,0x0a,0x7e]
0x6b,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, m0                    ; encoding: [0x7c,0x52,0x0a,0x7e]
0x7c,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, exec_lo               ; encoding: [0x7e,0x52,0x0a,0x7e]
0x7e,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, exec_hi               ; encoding: [0x7f,0x52,0x0a,0x7e]
0x7f,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, 0                     ; encoding: [0x80,0x52,0x0a,0x7e]
0x80,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, -1                    ; encoding: [0xc1,0x52,0x0a,0x7e]
0xc1,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, 0.5                   ; encoding: [0xf0,0x52,0x0a,0x7e]
0xf0,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, -4.0                  ; encoding: [0xf7,0x52,0x0a,0x7e]
0xf7,0x52,0x0a,0x7e

# CHECK: v_sin_f32_e32 v5, 0xaf123456            ; encoding: [0xff,0x52,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x52,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_sin_f32_e32 v5, 0x3f717273            ; encoding: [0xff,0x52,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x52,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_cos_f32_e32 v5, v1                    ; encoding: [0x01,0x55,0x0a,0x7e]
0x01,0x55,0x0a,0x7e

# CHECK: v_cos_f32_e32 v255, v1                  ; encoding: [0x01,0x55,0xfe,0x7f]
0x01,0x55,0xfe,0x7f

# CHECK: v_cos_f32_e32 v5, v255                  ; encoding: [0xff,0x55,0x0a,0x7e]
0xff,0x55,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, s1                    ; encoding: [0x01,0x54,0x0a,0x7e]
0x01,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, s101                  ; encoding: [0x65,0x54,0x0a,0x7e]
0x65,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x54,0x0a,0x7e]
0x66,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x54,0x0a,0x7e]
0x67,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, vcc_lo                ; encoding: [0x6a,0x54,0x0a,0x7e]
0x6a,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, vcc_hi                ; encoding: [0x6b,0x54,0x0a,0x7e]
0x6b,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, m0                    ; encoding: [0x7c,0x54,0x0a,0x7e]
0x7c,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, exec_lo               ; encoding: [0x7e,0x54,0x0a,0x7e]
0x7e,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, exec_hi               ; encoding: [0x7f,0x54,0x0a,0x7e]
0x7f,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, 0                     ; encoding: [0x80,0x54,0x0a,0x7e]
0x80,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, -1                    ; encoding: [0xc1,0x54,0x0a,0x7e]
0xc1,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, 0.5                   ; encoding: [0xf0,0x54,0x0a,0x7e]
0xf0,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, -4.0                  ; encoding: [0xf7,0x54,0x0a,0x7e]
0xf7,0x54,0x0a,0x7e

# CHECK: v_cos_f32_e32 v5, 0xaf123456            ; encoding: [0xff,0x54,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x54,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_cos_f32_e32 v5, 0x3f717273            ; encoding: [0xff,0x54,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x54,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_not_b32_e32 v5, v1                    ; encoding: [0x01,0x57,0x0a,0x7e]
0x01,0x57,0x0a,0x7e

# CHECK: v_not_b32_e32 v255, v1                  ; encoding: [0x01,0x57,0xfe,0x7f]
0x01,0x57,0xfe,0x7f

# CHECK: v_not_b32_e32 v5, v255                  ; encoding: [0xff,0x57,0x0a,0x7e]
0xff,0x57,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, s1                    ; encoding: [0x01,0x56,0x0a,0x7e]
0x01,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, s101                  ; encoding: [0x65,0x56,0x0a,0x7e]
0x65,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x56,0x0a,0x7e]
0x66,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x56,0x0a,0x7e]
0x67,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, vcc_lo                ; encoding: [0x6a,0x56,0x0a,0x7e]
0x6a,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, vcc_hi                ; encoding: [0x6b,0x56,0x0a,0x7e]
0x6b,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, m0                    ; encoding: [0x7c,0x56,0x0a,0x7e]
0x7c,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, exec_lo               ; encoding: [0x7e,0x56,0x0a,0x7e]
0x7e,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, exec_hi               ; encoding: [0x7f,0x56,0x0a,0x7e]
0x7f,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, 0                     ; encoding: [0x80,0x56,0x0a,0x7e]
0x80,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, -1                    ; encoding: [0xc1,0x56,0x0a,0x7e]
0xc1,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, 0.5                   ; encoding: [0xf0,0x56,0x0a,0x7e]
0xf0,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, -4.0                  ; encoding: [0xf7,0x56,0x0a,0x7e]
0xf7,0x56,0x0a,0x7e

# CHECK: v_not_b32_e32 v5, 0xaf123456            ; encoding: [0xff,0x56,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x56,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_not_b32_e32 v5, 0x3f717273            ; encoding: [0xff,0x56,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x56,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_bfrev_b32_e32 v5, v1                  ; encoding: [0x01,0x59,0x0a,0x7e]
0x01,0x59,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v255, v1                ; encoding: [0x01,0x59,0xfe,0x7f]
0x01,0x59,0xfe,0x7f

# CHECK: v_bfrev_b32_e32 v5, v255                ; encoding: [0xff,0x59,0x0a,0x7e]
0xff,0x59,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, s1                  ; encoding: [0x01,0x58,0x0a,0x7e]
0x01,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, s101                ; encoding: [0x65,0x58,0x0a,0x7e]
0x65,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, flat_scratch_lo     ; encoding: [0x66,0x58,0x0a,0x7e]
0x66,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, flat_scratch_hi     ; encoding: [0x67,0x58,0x0a,0x7e]
0x67,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, vcc_lo              ; encoding: [0x6a,0x58,0x0a,0x7e]
0x6a,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, vcc_hi              ; encoding: [0x6b,0x58,0x0a,0x7e]
0x6b,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, m0                  ; encoding: [0x7c,0x58,0x0a,0x7e]
0x7c,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, exec_lo             ; encoding: [0x7e,0x58,0x0a,0x7e]
0x7e,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, exec_hi             ; encoding: [0x7f,0x58,0x0a,0x7e]
0x7f,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, 0                   ; encoding: [0x80,0x58,0x0a,0x7e]
0x80,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, -1                  ; encoding: [0xc1,0x58,0x0a,0x7e]
0xc1,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, 0.5                 ; encoding: [0xf0,0x58,0x0a,0x7e]
0xf0,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, -4.0                ; encoding: [0xf7,0x58,0x0a,0x7e]
0xf7,0x58,0x0a,0x7e

# CHECK: v_bfrev_b32_e32 v5, 0xaf123456          ; encoding: [0xff,0x58,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x58,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_bfrev_b32_e32 v5, 0x3f717273          ; encoding: [0xff,0x58,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x58,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_ffbh_u32_e32 v5, v1                   ; encoding: [0x01,0x5b,0x0a,0x7e]
0x01,0x5b,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v255, v1                 ; encoding: [0x01,0x5b,0xfe,0x7f]
0x01,0x5b,0xfe,0x7f

# CHECK: v_ffbh_u32_e32 v5, v255                 ; encoding: [0xff,0x5b,0x0a,0x7e]
0xff,0x5b,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, s1                   ; encoding: [0x01,0x5a,0x0a,0x7e]
0x01,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, s101                 ; encoding: [0x65,0x5a,0x0a,0x7e]
0x65,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, flat_scratch_lo      ; encoding: [0x66,0x5a,0x0a,0x7e]
0x66,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, flat_scratch_hi      ; encoding: [0x67,0x5a,0x0a,0x7e]
0x67,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, vcc_lo               ; encoding: [0x6a,0x5a,0x0a,0x7e]
0x6a,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, vcc_hi               ; encoding: [0x6b,0x5a,0x0a,0x7e]
0x6b,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, m0                   ; encoding: [0x7c,0x5a,0x0a,0x7e]
0x7c,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, exec_lo              ; encoding: [0x7e,0x5a,0x0a,0x7e]
0x7e,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, exec_hi              ; encoding: [0x7f,0x5a,0x0a,0x7e]
0x7f,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, 0                    ; encoding: [0x80,0x5a,0x0a,0x7e]
0x80,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, -1                   ; encoding: [0xc1,0x5a,0x0a,0x7e]
0xc1,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, 0.5                  ; encoding: [0xf0,0x5a,0x0a,0x7e]
0xf0,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, -4.0                 ; encoding: [0xf7,0x5a,0x0a,0x7e]
0xf7,0x5a,0x0a,0x7e

# CHECK: v_ffbh_u32_e32 v5, 0xaf123456           ; encoding: [0xff,0x5a,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x5a,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_ffbh_u32_e32 v5, 0x3f717273           ; encoding: [0xff,0x5a,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x5a,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_ffbl_b32_e32 v5, v1                   ; encoding: [0x01,0x5d,0x0a,0x7e]
0x01,0x5d,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v255, v1                 ; encoding: [0x01,0x5d,0xfe,0x7f]
0x01,0x5d,0xfe,0x7f

# CHECK: v_ffbl_b32_e32 v5, v255                 ; encoding: [0xff,0x5d,0x0a,0x7e]
0xff,0x5d,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, s1                   ; encoding: [0x01,0x5c,0x0a,0x7e]
0x01,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, s101                 ; encoding: [0x65,0x5c,0x0a,0x7e]
0x65,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, flat_scratch_lo      ; encoding: [0x66,0x5c,0x0a,0x7e]
0x66,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, flat_scratch_hi      ; encoding: [0x67,0x5c,0x0a,0x7e]
0x67,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, vcc_lo               ; encoding: [0x6a,0x5c,0x0a,0x7e]
0x6a,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, vcc_hi               ; encoding: [0x6b,0x5c,0x0a,0x7e]
0x6b,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, m0                   ; encoding: [0x7c,0x5c,0x0a,0x7e]
0x7c,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, exec_lo              ; encoding: [0x7e,0x5c,0x0a,0x7e]
0x7e,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, exec_hi              ; encoding: [0x7f,0x5c,0x0a,0x7e]
0x7f,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, 0                    ; encoding: [0x80,0x5c,0x0a,0x7e]
0x80,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, -1                   ; encoding: [0xc1,0x5c,0x0a,0x7e]
0xc1,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, 0.5                  ; encoding: [0xf0,0x5c,0x0a,0x7e]
0xf0,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, -4.0                 ; encoding: [0xf7,0x5c,0x0a,0x7e]
0xf7,0x5c,0x0a,0x7e

# CHECK: v_ffbl_b32_e32 v5, 0xaf123456           ; encoding: [0xff,0x5c,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x5c,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_ffbl_b32_e32 v5, 0x3f717273           ; encoding: [0xff,0x5c,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x5c,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_ffbh_i32_e32 v5, v1                   ; encoding: [0x01,0x5f,0x0a,0x7e]
0x01,0x5f,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v255, v1                 ; encoding: [0x01,0x5f,0xfe,0x7f]
0x01,0x5f,0xfe,0x7f

# CHECK: v_ffbh_i32_e32 v5, v255                 ; encoding: [0xff,0x5f,0x0a,0x7e]
0xff,0x5f,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, s1                   ; encoding: [0x01,0x5e,0x0a,0x7e]
0x01,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, s101                 ; encoding: [0x65,0x5e,0x0a,0x7e]
0x65,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, flat_scratch_lo      ; encoding: [0x66,0x5e,0x0a,0x7e]
0x66,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, flat_scratch_hi      ; encoding: [0x67,0x5e,0x0a,0x7e]
0x67,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, vcc_lo               ; encoding: [0x6a,0x5e,0x0a,0x7e]
0x6a,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, vcc_hi               ; encoding: [0x6b,0x5e,0x0a,0x7e]
0x6b,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, m0                   ; encoding: [0x7c,0x5e,0x0a,0x7e]
0x7c,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, exec_lo              ; encoding: [0x7e,0x5e,0x0a,0x7e]
0x7e,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, exec_hi              ; encoding: [0x7f,0x5e,0x0a,0x7e]
0x7f,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, 0                    ; encoding: [0x80,0x5e,0x0a,0x7e]
0x80,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, -1                   ; encoding: [0xc1,0x5e,0x0a,0x7e]
0xc1,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, 0.5                  ; encoding: [0xf0,0x5e,0x0a,0x7e]
0xf0,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, -4.0                 ; encoding: [0xf7,0x5e,0x0a,0x7e]
0xf7,0x5e,0x0a,0x7e

# CHECK: v_ffbh_i32_e32 v5, 0xaf123456           ; encoding: [0xff,0x5e,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x5e,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_ffbh_i32_e32 v5, 0x3f717273           ; encoding: [0xff,0x5e,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x5e,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_frexp_exp_i32_f64_e32 v5, v[1:2]      ; encoding: [0x01,0x61,0x0a,0x7e]
0x01,0x61,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v255, v[1:2]    ; encoding: [0x01,0x61,0xfe,0x7f]
0x01,0x61,0xfe,0x7f

# CHECK: v_frexp_exp_i32_f64_e32 v5, v[254:255]  ; encoding: [0xfe,0x61,0x0a,0x7e]
0xfe,0x61,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v5, s[2:3]      ; encoding: [0x02,0x60,0x0a,0x7e]
0x02,0x60,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v5, s[4:5]      ; encoding: [0x04,0x60,0x0a,0x7e]
0x04,0x60,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v5, s[100:101]  ; encoding: [0x64,0x60,0x0a,0x7e]
0x64,0x60,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v5, flat_scratch ; encoding: [0x66,0x60,0x0a,0x7e]
0x66,0x60,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v5, vcc         ; encoding: [0x6a,0x60,0x0a,0x7e]
0x6a,0x60,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v5, exec        ; encoding: [0x7e,0x60,0x0a,0x7e]
0x7e,0x60,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v5, 0           ; encoding: [0x80,0x60,0x0a,0x7e]
0x80,0x60,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v5, -1          ; encoding: [0xc1,0x60,0x0a,0x7e]
0xc1,0x60,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v5, 0.5         ; encoding: [0xf0,0x60,0x0a,0x7e]
0xf0,0x60,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v5, -4.0        ; encoding: [0xf7,0x60,0x0a,0x7e]
0xf7,0x60,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f64_e32 v5, 0xaf123456  ; encoding: [0xff,0x60,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x60,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_frexp_exp_i32_f64_e32 v5, 0x3f717273  ; encoding: [0xff,0x60,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x60,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_frexp_mant_f64_e32 v[5:6], v[1:2]     ; encoding: [0x01,0x63,0x0a,0x7e]
0x01,0x63,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[254:255], v[1:2] ; encoding: [0x01,0x63,0xfc,0x7f]
0x01,0x63,0xfc,0x7f

# CHECK: v_frexp_mant_f64_e32 v[5:6], v[254:255] ; encoding: [0xfe,0x63,0x0a,0x7e]
0xfe,0x63,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[5:6], s[2:3]     ; encoding: [0x02,0x62,0x0a,0x7e]
0x02,0x62,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[5:6], s[4:5]     ; encoding: [0x04,0x62,0x0a,0x7e]
0x04,0x62,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[5:6], s[100:101] ; encoding: [0x64,0x62,0x0a,0x7e]
0x64,0x62,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[5:6], flat_scratch ; encoding: [0x66,0x62,0x0a,0x7e]
0x66,0x62,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[5:6], vcc        ; encoding: [0x6a,0x62,0x0a,0x7e]
0x6a,0x62,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[5:6], exec       ; encoding: [0x7e,0x62,0x0a,0x7e]
0x7e,0x62,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[5:6], 0          ; encoding: [0x80,0x62,0x0a,0x7e]
0x80,0x62,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[5:6], -1         ; encoding: [0xc1,0x62,0x0a,0x7e]
0xc1,0x62,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[5:6], 0.5        ; encoding: [0xf0,0x62,0x0a,0x7e]
0xf0,0x62,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[5:6], -4.0       ; encoding: [0xf7,0x62,0x0a,0x7e]
0xf7,0x62,0x0a,0x7e

# CHECK: v_frexp_mant_f64_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x62,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x62,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_frexp_mant_f64_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x62,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x62,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_fract_f64_e32 v[5:6], v[1:2]          ; encoding: [0x01,0x65,0x0a,0x7e]
0x01,0x65,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[254:255], v[1:2]      ; encoding: [0x01,0x65,0xfc,0x7f]
0x01,0x65,0xfc,0x7f

# CHECK: v_fract_f64_e32 v[5:6], v[254:255]      ; encoding: [0xfe,0x65,0x0a,0x7e]
0xfe,0x65,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[5:6], s[2:3]          ; encoding: [0x02,0x64,0x0a,0x7e]
0x02,0x64,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[5:6], s[4:5]          ; encoding: [0x04,0x64,0x0a,0x7e]
0x04,0x64,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[5:6], s[100:101]      ; encoding: [0x64,0x64,0x0a,0x7e]
0x64,0x64,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[5:6], flat_scratch    ; encoding: [0x66,0x64,0x0a,0x7e]
0x66,0x64,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[5:6], vcc             ; encoding: [0x6a,0x64,0x0a,0x7e]
0x6a,0x64,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[5:6], exec            ; encoding: [0x7e,0x64,0x0a,0x7e]
0x7e,0x64,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[5:6], 0               ; encoding: [0x80,0x64,0x0a,0x7e]
0x80,0x64,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[5:6], -1              ; encoding: [0xc1,0x64,0x0a,0x7e]
0xc1,0x64,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[5:6], 0.5             ; encoding: [0xf0,0x64,0x0a,0x7e]
0xf0,0x64,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[5:6], -4.0            ; encoding: [0xf7,0x64,0x0a,0x7e]
0xf7,0x64,0x0a,0x7e

# CHECK: v_fract_f64_e32 v[5:6], 0xaf123456      ; encoding: [0xff,0x64,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x64,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_fract_f64_e32 v[5:6], 0x3f717273      ; encoding: [0xff,0x64,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x64,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_frexp_exp_i32_f32_e32 v5, v1          ; encoding: [0x01,0x67,0x0a,0x7e]
0x01,0x67,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v255, v1        ; encoding: [0x01,0x67,0xfe,0x7f]
0x01,0x67,0xfe,0x7f

# CHECK: v_frexp_exp_i32_f32_e32 v5, v255        ; encoding: [0xff,0x67,0x0a,0x7e]
0xff,0x67,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, s1          ; encoding: [0x01,0x66,0x0a,0x7e]
0x01,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, s101        ; encoding: [0x65,0x66,0x0a,0x7e]
0x65,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, flat_scratch_lo ; encoding: [0x66,0x66,0x0a,0x7e]
0x66,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, flat_scratch_hi ; encoding: [0x67,0x66,0x0a,0x7e]
0x67,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, vcc_lo      ; encoding: [0x6a,0x66,0x0a,0x7e]
0x6a,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, vcc_hi      ; encoding: [0x6b,0x66,0x0a,0x7e]
0x6b,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, m0          ; encoding: [0x7c,0x66,0x0a,0x7e]
0x7c,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, exec_lo     ; encoding: [0x7e,0x66,0x0a,0x7e]
0x7e,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, exec_hi     ; encoding: [0x7f,0x66,0x0a,0x7e]
0x7f,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, 0           ; encoding: [0x80,0x66,0x0a,0x7e]
0x80,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, -1          ; encoding: [0xc1,0x66,0x0a,0x7e]
0xc1,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, 0.5         ; encoding: [0xf0,0x66,0x0a,0x7e]
0xf0,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, -4.0        ; encoding: [0xf7,0x66,0x0a,0x7e]
0xf7,0x66,0x0a,0x7e

# CHECK: v_frexp_exp_i32_f32_e32 v5, 0xaf123456  ; encoding: [0xff,0x66,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x66,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_frexp_exp_i32_f32_e32 v5, 0x3f717273  ; encoding: [0xff,0x66,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x66,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_frexp_mant_f32_e32 v5, v1             ; encoding: [0x01,0x69,0x0a,0x7e]
0x01,0x69,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v255, v1           ; encoding: [0x01,0x69,0xfe,0x7f]
0x01,0x69,0xfe,0x7f

# CHECK: v_frexp_mant_f32_e32 v5, v255           ; encoding: [0xff,0x69,0x0a,0x7e]
0xff,0x69,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, s1             ; encoding: [0x01,0x68,0x0a,0x7e]
0x01,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, s101           ; encoding: [0x65,0x68,0x0a,0x7e]
0x65,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, flat_scratch_lo ; encoding: [0x66,0x68,0x0a,0x7e]
0x66,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, flat_scratch_hi ; encoding: [0x67,0x68,0x0a,0x7e]
0x67,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, vcc_lo         ; encoding: [0x6a,0x68,0x0a,0x7e]
0x6a,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, vcc_hi         ; encoding: [0x6b,0x68,0x0a,0x7e]
0x6b,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, m0             ; encoding: [0x7c,0x68,0x0a,0x7e]
0x7c,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, exec_lo        ; encoding: [0x7e,0x68,0x0a,0x7e]
0x7e,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, exec_hi        ; encoding: [0x7f,0x68,0x0a,0x7e]
0x7f,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, 0              ; encoding: [0x80,0x68,0x0a,0x7e]
0x80,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, -1             ; encoding: [0xc1,0x68,0x0a,0x7e]
0xc1,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, 0.5            ; encoding: [0xf0,0x68,0x0a,0x7e]
0xf0,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, -4.0           ; encoding: [0xf7,0x68,0x0a,0x7e]
0xf7,0x68,0x0a,0x7e

# CHECK: v_frexp_mant_f32_e32 v5, 0xaf123456     ; encoding: [0xff,0x68,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x68,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_frexp_mant_f32_e32 v5, 0x3f717273     ; encoding: [0xff,0x68,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x68,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_clrexcp                               ; encoding: [0x00,0x6a,0x00,0x7e]
0x00,0x6a,0x00,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, v1                ; encoding: [0x01,0x73,0x0a,0x7e]
0x01,0x73,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v255, v1              ; encoding: [0x01,0x73,0xfe,0x7f]
0x01,0x73,0xfe,0x7f

# CHECK: v_cvt_f16_u16_e32 v5, v255              ; encoding: [0xff,0x73,0x0a,0x7e]
0xff,0x73,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, s1                ; encoding: [0x01,0x72,0x0a,0x7e]
0x01,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, s101              ; encoding: [0x65,0x72,0x0a,0x7e]
0x65,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, flat_scratch_lo   ; encoding: [0x66,0x72,0x0a,0x7e]
0x66,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, flat_scratch_hi   ; encoding: [0x67,0x72,0x0a,0x7e]
0x67,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, vcc_lo            ; encoding: [0x6a,0x72,0x0a,0x7e]
0x6a,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, vcc_hi            ; encoding: [0x6b,0x72,0x0a,0x7e]
0x6b,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, m0                ; encoding: [0x7c,0x72,0x0a,0x7e]
0x7c,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, exec_lo           ; encoding: [0x7e,0x72,0x0a,0x7e]
0x7e,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, exec_hi           ; encoding: [0x7f,0x72,0x0a,0x7e]
0x7f,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, 0                 ; encoding: [0x80,0x72,0x0a,0x7e]
0x80,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, -1                ; encoding: [0xc1,0x72,0x0a,0x7e]
0xc1,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, 0x3800            ; encoding: [0xff,0x72,0x0a,0x7e,0x00,0x38,0x00,0x00]
0xf0,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, 0xc400            ; encoding: [0xff,0x72,0x0a,0x7e,0x00,0xc4,0x00,0x00]
0xf7,0x72,0x0a,0x7e

# CHECK: v_cvt_f16_u16_e32 v5, 0xfe0b            ; encoding: [0xff,0x72,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x72,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_cvt_f16_u16_e32 v5, 0x3456            ; encoding: [0xff,0x72,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x72,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_cvt_f16_i16_e32 v5, v1                ; encoding: [0x01,0x75,0x0a,0x7e]
0x01,0x75,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v255, v1              ; encoding: [0x01,0x75,0xfe,0x7f]
0x01,0x75,0xfe,0x7f

# CHECK: v_cvt_f16_i16_e32 v5, v255              ; encoding: [0xff,0x75,0x0a,0x7e]
0xff,0x75,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, s1                ; encoding: [0x01,0x74,0x0a,0x7e]
0x01,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, s101              ; encoding: [0x65,0x74,0x0a,0x7e]
0x65,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, flat_scratch_lo   ; encoding: [0x66,0x74,0x0a,0x7e]
0x66,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, flat_scratch_hi   ; encoding: [0x67,0x74,0x0a,0x7e]
0x67,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, vcc_lo            ; encoding: [0x6a,0x74,0x0a,0x7e]
0x6a,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, vcc_hi            ; encoding: [0x6b,0x74,0x0a,0x7e]
0x6b,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, m0                ; encoding: [0x7c,0x74,0x0a,0x7e]
0x7c,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, exec_lo           ; encoding: [0x7e,0x74,0x0a,0x7e]
0x7e,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, exec_hi           ; encoding: [0x7f,0x74,0x0a,0x7e]
0x7f,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, 0                 ; encoding: [0x80,0x74,0x0a,0x7e]
0x80,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, -1                ; encoding: [0xc1,0x74,0x0a,0x7e]
0xc1,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, 0x3800            ; encoding: [0xff,0x74,0x0a,0x7e,0x00,0x38,0x00,0x00]
0xf0,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, 0xc400            ; encoding: [0xff,0x74,0x0a,0x7e,0x00,0xc4,0x00,0x00]
0xf7,0x74,0x0a,0x7e

# CHECK: v_cvt_f16_i16_e32 v5, 0xfe0b            ; encoding: [0xff,0x74,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x74,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_cvt_f16_i16_e32 v5, 0x3456            ; encoding: [0xff,0x74,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x74,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_cvt_u16_f16_e32 v5, v1                ; encoding: [0x01,0x77,0x0a,0x7e]
0x01,0x77,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v255, v1              ; encoding: [0x01,0x77,0xfe,0x7f]
0x01,0x77,0xfe,0x7f

# CHECK: v_cvt_u16_f16_e32 v5, v255              ; encoding: [0xff,0x77,0x0a,0x7e]
0xff,0x77,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, s1                ; encoding: [0x01,0x76,0x0a,0x7e]
0x01,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, s101              ; encoding: [0x65,0x76,0x0a,0x7e]
0x65,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, flat_scratch_lo   ; encoding: [0x66,0x76,0x0a,0x7e]
0x66,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, flat_scratch_hi   ; encoding: [0x67,0x76,0x0a,0x7e]
0x67,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, vcc_lo            ; encoding: [0x6a,0x76,0x0a,0x7e]
0x6a,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, vcc_hi            ; encoding: [0x6b,0x76,0x0a,0x7e]
0x6b,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, m0                ; encoding: [0x7c,0x76,0x0a,0x7e]
0x7c,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, exec_lo           ; encoding: [0x7e,0x76,0x0a,0x7e]
0x7e,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, exec_hi           ; encoding: [0x7f,0x76,0x0a,0x7e]
0x7f,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, 0                 ; encoding: [0x80,0x76,0x0a,0x7e]
0x80,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, -1                ; encoding: [0xc1,0x76,0x0a,0x7e]
0xc1,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, 0.5               ; encoding: [0xf0,0x76,0x0a,0x7e]
0xf0,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, -4.0              ; encoding: [0xf7,0x76,0x0a,0x7e]
0xf7,0x76,0x0a,0x7e

# CHECK: v_cvt_u16_f16_e32 v5, 0xfe0b            ; encoding: [0xff,0x76,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x76,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_cvt_u16_f16_e32 v5, 0x3456            ; encoding: [0xff,0x76,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x76,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_cvt_i16_f16_e32 v5, v1                ; encoding: [0x01,0x79,0x0a,0x7e]
0x01,0x79,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v255, v1              ; encoding: [0x01,0x79,0xfe,0x7f]
0x01,0x79,0xfe,0x7f

# CHECK: v_cvt_i16_f16_e32 v5, v255              ; encoding: [0xff,0x79,0x0a,0x7e]
0xff,0x79,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, s1                ; encoding: [0x01,0x78,0x0a,0x7e]
0x01,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, s101              ; encoding: [0x65,0x78,0x0a,0x7e]
0x65,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, flat_scratch_lo   ; encoding: [0x66,0x78,0x0a,0x7e]
0x66,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, flat_scratch_hi   ; encoding: [0x67,0x78,0x0a,0x7e]
0x67,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, vcc_lo            ; encoding: [0x6a,0x78,0x0a,0x7e]
0x6a,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, vcc_hi            ; encoding: [0x6b,0x78,0x0a,0x7e]
0x6b,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, m0                ; encoding: [0x7c,0x78,0x0a,0x7e]
0x7c,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, exec_lo           ; encoding: [0x7e,0x78,0x0a,0x7e]
0x7e,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, exec_hi           ; encoding: [0x7f,0x78,0x0a,0x7e]
0x7f,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, 0                 ; encoding: [0x80,0x78,0x0a,0x7e]
0x80,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, -1                ; encoding: [0xc1,0x78,0x0a,0x7e]
0xc1,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, 0.5               ; encoding: [0xf0,0x78,0x0a,0x7e]
0xf0,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, -4.0              ; encoding: [0xf7,0x78,0x0a,0x7e]
0xf7,0x78,0x0a,0x7e

# CHECK: v_cvt_i16_f16_e32 v5, 0xfe0b            ; encoding: [0xff,0x78,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x78,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_cvt_i16_f16_e32 v5, 0x3456            ; encoding: [0xff,0x78,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x78,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_rcp_f16_e32 v5, v1                    ; encoding: [0x01,0x7b,0x0a,0x7e]
0x01,0x7b,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v255, v1                  ; encoding: [0x01,0x7b,0xfe,0x7f]
0x01,0x7b,0xfe,0x7f

# CHECK: v_rcp_f16_e32 v5, v255                  ; encoding: [0xff,0x7b,0x0a,0x7e]
0xff,0x7b,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, s1                    ; encoding: [0x01,0x7a,0x0a,0x7e]
0x01,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, s101                  ; encoding: [0x65,0x7a,0x0a,0x7e]
0x65,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x7a,0x0a,0x7e]
0x66,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x7a,0x0a,0x7e]
0x67,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, vcc_lo                ; encoding: [0x6a,0x7a,0x0a,0x7e]
0x6a,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, vcc_hi                ; encoding: [0x6b,0x7a,0x0a,0x7e]
0x6b,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, m0                    ; encoding: [0x7c,0x7a,0x0a,0x7e]
0x7c,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, exec_lo               ; encoding: [0x7e,0x7a,0x0a,0x7e]
0x7e,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, exec_hi               ; encoding: [0x7f,0x7a,0x0a,0x7e]
0x7f,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, 0                     ; encoding: [0x80,0x7a,0x0a,0x7e]
0x80,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, -1                    ; encoding: [0xc1,0x7a,0x0a,0x7e]
0xc1,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, 0.5                   ; encoding: [0xf0,0x7a,0x0a,0x7e]
0xf0,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, -4.0                  ; encoding: [0xf7,0x7a,0x0a,0x7e]
0xf7,0x7a,0x0a,0x7e

# CHECK: v_rcp_f16_e32 v5, 0xfe0b                ; encoding: [0xff,0x7a,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x7a,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_rcp_f16_e32 v5, 0x3456                ; encoding: [0xff,0x7a,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x7a,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_sqrt_f16_e32 v5, v1                   ; encoding: [0x01,0x7d,0x0a,0x7e]
0x01,0x7d,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v255, v1                 ; encoding: [0x01,0x7d,0xfe,0x7f]
0x01,0x7d,0xfe,0x7f

# CHECK: v_sqrt_f16_e32 v5, v255                 ; encoding: [0xff,0x7d,0x0a,0x7e]
0xff,0x7d,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, s1                   ; encoding: [0x01,0x7c,0x0a,0x7e]
0x01,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, s101                 ; encoding: [0x65,0x7c,0x0a,0x7e]
0x65,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, flat_scratch_lo      ; encoding: [0x66,0x7c,0x0a,0x7e]
0x66,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, flat_scratch_hi      ; encoding: [0x67,0x7c,0x0a,0x7e]
0x67,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, vcc_lo               ; encoding: [0x6a,0x7c,0x0a,0x7e]
0x6a,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, vcc_hi               ; encoding: [0x6b,0x7c,0x0a,0x7e]
0x6b,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, m0                   ; encoding: [0x7c,0x7c,0x0a,0x7e]
0x7c,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, exec_lo              ; encoding: [0x7e,0x7c,0x0a,0x7e]
0x7e,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, exec_hi              ; encoding: [0x7f,0x7c,0x0a,0x7e]
0x7f,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, 0                    ; encoding: [0x80,0x7c,0x0a,0x7e]
0x80,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, -1                   ; encoding: [0xc1,0x7c,0x0a,0x7e]
0xc1,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, 0.5                  ; encoding: [0xf0,0x7c,0x0a,0x7e]
0xf0,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, -4.0                 ; encoding: [0xf7,0x7c,0x0a,0x7e]
0xf7,0x7c,0x0a,0x7e

# CHECK: v_sqrt_f16_e32 v5, 0xfe0b               ; encoding: [0xff,0x7c,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x7c,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_sqrt_f16_e32 v5, 0x3456               ; encoding: [0xff,0x7c,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x7c,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_rsq_f16_e32 v5, v1                    ; encoding: [0x01,0x7f,0x0a,0x7e]
0x01,0x7f,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v255, v1                  ; encoding: [0x01,0x7f,0xfe,0x7f]
0x01,0x7f,0xfe,0x7f

# CHECK: v_rsq_f16_e32 v5, v255                  ; encoding: [0xff,0x7f,0x0a,0x7e]
0xff,0x7f,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, s1                    ; encoding: [0x01,0x7e,0x0a,0x7e]
0x01,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, s101                  ; encoding: [0x65,0x7e,0x0a,0x7e]
0x65,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x7e,0x0a,0x7e]
0x66,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x7e,0x0a,0x7e]
0x67,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, vcc_lo                ; encoding: [0x6a,0x7e,0x0a,0x7e]
0x6a,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, vcc_hi                ; encoding: [0x6b,0x7e,0x0a,0x7e]
0x6b,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, m0                    ; encoding: [0x7c,0x7e,0x0a,0x7e]
0x7c,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, exec_lo               ; encoding: [0x7e,0x7e,0x0a,0x7e]
0x7e,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, exec_hi               ; encoding: [0x7f,0x7e,0x0a,0x7e]
0x7f,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, 0                     ; encoding: [0x80,0x7e,0x0a,0x7e]
0x80,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, -1                    ; encoding: [0xc1,0x7e,0x0a,0x7e]
0xc1,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, 0.5                   ; encoding: [0xf0,0x7e,0x0a,0x7e]
0xf0,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, -4.0                  ; encoding: [0xf7,0x7e,0x0a,0x7e]
0xf7,0x7e,0x0a,0x7e

# CHECK: v_rsq_f16_e32 v5, 0xfe0b                ; encoding: [0xff,0x7e,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x7e,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_rsq_f16_e32 v5, 0x3456                ; encoding: [0xff,0x7e,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x7e,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_log_f16_e32 v5, v1                    ; encoding: [0x01,0x81,0x0a,0x7e]
0x01,0x81,0x0a,0x7e

# CHECK: v_log_f16_e32 v255, v1                  ; encoding: [0x01,0x81,0xfe,0x7f]
0x01,0x81,0xfe,0x7f

# CHECK: v_log_f16_e32 v5, v255                  ; encoding: [0xff,0x81,0x0a,0x7e]
0xff,0x81,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, s1                    ; encoding: [0x01,0x80,0x0a,0x7e]
0x01,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, s101                  ; encoding: [0x65,0x80,0x0a,0x7e]
0x65,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x80,0x0a,0x7e]
0x66,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x80,0x0a,0x7e]
0x67,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, vcc_lo                ; encoding: [0x6a,0x80,0x0a,0x7e]
0x6a,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, vcc_hi                ; encoding: [0x6b,0x80,0x0a,0x7e]
0x6b,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, m0                    ; encoding: [0x7c,0x80,0x0a,0x7e]
0x7c,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, exec_lo               ; encoding: [0x7e,0x80,0x0a,0x7e]
0x7e,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, exec_hi               ; encoding: [0x7f,0x80,0x0a,0x7e]
0x7f,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, 0                     ; encoding: [0x80,0x80,0x0a,0x7e]
0x80,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, -1                    ; encoding: [0xc1,0x80,0x0a,0x7e]
0xc1,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, 0.5                   ; encoding: [0xf0,0x80,0x0a,0x7e]
0xf0,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, -4.0                  ; encoding: [0xf7,0x80,0x0a,0x7e]
0xf7,0x80,0x0a,0x7e

# CHECK: v_log_f16_e32 v5, 0xfe0b                ; encoding: [0xff,0x80,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x80,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_log_f16_e32 v5, 0x3456                ; encoding: [0xff,0x80,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x80,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_exp_f16_e32 v5, v1                    ; encoding: [0x01,0x83,0x0a,0x7e]
0x01,0x83,0x0a,0x7e

# CHECK: v_exp_f16_e32 v255, v1                  ; encoding: [0x01,0x83,0xfe,0x7f]
0x01,0x83,0xfe,0x7f

# CHECK: v_exp_f16_e32 v5, v255                  ; encoding: [0xff,0x83,0x0a,0x7e]
0xff,0x83,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, s1                    ; encoding: [0x01,0x82,0x0a,0x7e]
0x01,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, s101                  ; encoding: [0x65,0x82,0x0a,0x7e]
0x65,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x82,0x0a,0x7e]
0x66,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x82,0x0a,0x7e]
0x67,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, vcc_lo                ; encoding: [0x6a,0x82,0x0a,0x7e]
0x6a,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, vcc_hi                ; encoding: [0x6b,0x82,0x0a,0x7e]
0x6b,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, m0                    ; encoding: [0x7c,0x82,0x0a,0x7e]
0x7c,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, exec_lo               ; encoding: [0x7e,0x82,0x0a,0x7e]
0x7e,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, exec_hi               ; encoding: [0x7f,0x82,0x0a,0x7e]
0x7f,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, 0                     ; encoding: [0x80,0x82,0x0a,0x7e]
0x80,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, -1                    ; encoding: [0xc1,0x82,0x0a,0x7e]
0xc1,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, 0.5                   ; encoding: [0xf0,0x82,0x0a,0x7e]
0xf0,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, -4.0                  ; encoding: [0xf7,0x82,0x0a,0x7e]
0xf7,0x82,0x0a,0x7e

# CHECK: v_exp_f16_e32 v5, 0xfe0b                ; encoding: [0xff,0x82,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x82,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_exp_f16_e32 v5, 0x3456                ; encoding: [0xff,0x82,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x82,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_frexp_mant_f16_e32 v5, v1             ; encoding: [0x01,0x85,0x0a,0x7e]
0x01,0x85,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v255, v1           ; encoding: [0x01,0x85,0xfe,0x7f]
0x01,0x85,0xfe,0x7f

# CHECK: v_frexp_mant_f16_e32 v5, v255           ; encoding: [0xff,0x85,0x0a,0x7e]
0xff,0x85,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, s1             ; encoding: [0x01,0x84,0x0a,0x7e]
0x01,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, s101           ; encoding: [0x65,0x84,0x0a,0x7e]
0x65,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, flat_scratch_lo ; encoding: [0x66,0x84,0x0a,0x7e]
0x66,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, flat_scratch_hi ; encoding: [0x67,0x84,0x0a,0x7e]
0x67,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, vcc_lo         ; encoding: [0x6a,0x84,0x0a,0x7e]
0x6a,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, vcc_hi         ; encoding: [0x6b,0x84,0x0a,0x7e]
0x6b,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, m0             ; encoding: [0x7c,0x84,0x0a,0x7e]
0x7c,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, exec_lo        ; encoding: [0x7e,0x84,0x0a,0x7e]
0x7e,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, exec_hi        ; encoding: [0x7f,0x84,0x0a,0x7e]
0x7f,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, 0              ; encoding: [0x80,0x84,0x0a,0x7e]
0x80,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, -1             ; encoding: [0xc1,0x84,0x0a,0x7e]
0xc1,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, 0.5            ; encoding: [0xf0,0x84,0x0a,0x7e]
0xf0,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, -4.0           ; encoding: [0xf7,0x84,0x0a,0x7e]
0xf7,0x84,0x0a,0x7e

# CHECK: v_frexp_mant_f16_e32 v5, 0xfe0b         ; encoding: [0xff,0x84,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x84,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_frexp_mant_f16_e32 v5, 0x3456         ; encoding: [0xff,0x84,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x84,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e32 v5, v1          ; encoding: [0x01,0x87,0x0a,0x7e]
0x01,0x87,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v255, v1        ; encoding: [0x01,0x87,0xfe,0x7f]
0x01,0x87,0xfe,0x7f

# CHECK: v_frexp_exp_i16_f16_e32 v5, v255        ; encoding: [0xff,0x87,0x0a,0x7e]
0xff,0x87,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, s1          ; encoding: [0x01,0x86,0x0a,0x7e]
0x01,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, s101        ; encoding: [0x65,0x86,0x0a,0x7e]
0x65,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, flat_scratch_lo ; encoding: [0x66,0x86,0x0a,0x7e]
0x66,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, flat_scratch_hi ; encoding: [0x67,0x86,0x0a,0x7e]
0x67,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, vcc_lo      ; encoding: [0x6a,0x86,0x0a,0x7e]
0x6a,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, vcc_hi      ; encoding: [0x6b,0x86,0x0a,0x7e]
0x6b,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, m0          ; encoding: [0x7c,0x86,0x0a,0x7e]
0x7c,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, exec_lo     ; encoding: [0x7e,0x86,0x0a,0x7e]
0x7e,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, exec_hi     ; encoding: [0x7f,0x86,0x0a,0x7e]
0x7f,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, 0           ; encoding: [0x80,0x86,0x0a,0x7e]
0x80,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, -1          ; encoding: [0xc1,0x86,0x0a,0x7e]
0xc1,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, 0.5         ; encoding: [0xf0,0x86,0x0a,0x7e]
0xf0,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, -4.0        ; encoding: [0xf7,0x86,0x0a,0x7e]
0xf7,0x86,0x0a,0x7e

# CHECK: v_frexp_exp_i16_f16_e32 v5, 0xfe0b      ; encoding: [0xff,0x86,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x86,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_frexp_exp_i16_f16_e32 v5, 0x3456      ; encoding: [0xff,0x86,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x86,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_floor_f16_e32 v5, v1                  ; encoding: [0x01,0x89,0x0a,0x7e]
0x01,0x89,0x0a,0x7e

# CHECK: v_floor_f16_e32 v255, v1                ; encoding: [0x01,0x89,0xfe,0x7f]
0x01,0x89,0xfe,0x7f

# CHECK: v_floor_f16_e32 v5, v255                ; encoding: [0xff,0x89,0x0a,0x7e]
0xff,0x89,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, s1                  ; encoding: [0x01,0x88,0x0a,0x7e]
0x01,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, s101                ; encoding: [0x65,0x88,0x0a,0x7e]
0x65,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, flat_scratch_lo     ; encoding: [0x66,0x88,0x0a,0x7e]
0x66,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, flat_scratch_hi     ; encoding: [0x67,0x88,0x0a,0x7e]
0x67,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, vcc_lo              ; encoding: [0x6a,0x88,0x0a,0x7e]
0x6a,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, vcc_hi              ; encoding: [0x6b,0x88,0x0a,0x7e]
0x6b,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, m0                  ; encoding: [0x7c,0x88,0x0a,0x7e]
0x7c,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, exec_lo             ; encoding: [0x7e,0x88,0x0a,0x7e]
0x7e,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, exec_hi             ; encoding: [0x7f,0x88,0x0a,0x7e]
0x7f,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, 0                   ; encoding: [0x80,0x88,0x0a,0x7e]
0x80,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, -1                  ; encoding: [0xc1,0x88,0x0a,0x7e]
0xc1,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, 0.5                 ; encoding: [0xf0,0x88,0x0a,0x7e]
0xf0,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, -4.0                ; encoding: [0xf7,0x88,0x0a,0x7e]
0xf7,0x88,0x0a,0x7e

# CHECK: v_floor_f16_e32 v5, 0xfe0b              ; encoding: [0xff,0x88,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x88,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_floor_f16_e32 v5, 0x3456              ; encoding: [0xff,0x88,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x88,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_ceil_f16_e32 v5, v1                   ; encoding: [0x01,0x8b,0x0a,0x7e]
0x01,0x8b,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v255, v1                 ; encoding: [0x01,0x8b,0xfe,0x7f]
0x01,0x8b,0xfe,0x7f

# CHECK: v_ceil_f16_e32 v5, v255                 ; encoding: [0xff,0x8b,0x0a,0x7e]
0xff,0x8b,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, s1                   ; encoding: [0x01,0x8a,0x0a,0x7e]
0x01,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, s101                 ; encoding: [0x65,0x8a,0x0a,0x7e]
0x65,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, flat_scratch_lo      ; encoding: [0x66,0x8a,0x0a,0x7e]
0x66,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, flat_scratch_hi      ; encoding: [0x67,0x8a,0x0a,0x7e]
0x67,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, vcc_lo               ; encoding: [0x6a,0x8a,0x0a,0x7e]
0x6a,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, vcc_hi               ; encoding: [0x6b,0x8a,0x0a,0x7e]
0x6b,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, m0                   ; encoding: [0x7c,0x8a,0x0a,0x7e]
0x7c,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, exec_lo              ; encoding: [0x7e,0x8a,0x0a,0x7e]
0x7e,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, exec_hi              ; encoding: [0x7f,0x8a,0x0a,0x7e]
0x7f,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, 0                    ; encoding: [0x80,0x8a,0x0a,0x7e]
0x80,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, -1                   ; encoding: [0xc1,0x8a,0x0a,0x7e]
0xc1,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, 0.5                  ; encoding: [0xf0,0x8a,0x0a,0x7e]
0xf0,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, -4.0                 ; encoding: [0xf7,0x8a,0x0a,0x7e]
0xf7,0x8a,0x0a,0x7e

# CHECK: v_ceil_f16_e32 v5, 0xfe0b               ; encoding: [0xff,0x8a,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x8a,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_ceil_f16_e32 v5, 0x3456               ; encoding: [0xff,0x8a,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x8a,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_trunc_f16_e32 v5, v1                  ; encoding: [0x01,0x8d,0x0a,0x7e]
0x01,0x8d,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v255, v1                ; encoding: [0x01,0x8d,0xfe,0x7f]
0x01,0x8d,0xfe,0x7f

# CHECK: v_trunc_f16_e32 v5, v255                ; encoding: [0xff,0x8d,0x0a,0x7e]
0xff,0x8d,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, s1                  ; encoding: [0x01,0x8c,0x0a,0x7e]
0x01,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, s101                ; encoding: [0x65,0x8c,0x0a,0x7e]
0x65,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, flat_scratch_lo     ; encoding: [0x66,0x8c,0x0a,0x7e]
0x66,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, flat_scratch_hi     ; encoding: [0x67,0x8c,0x0a,0x7e]
0x67,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, vcc_lo              ; encoding: [0x6a,0x8c,0x0a,0x7e]
0x6a,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, vcc_hi              ; encoding: [0x6b,0x8c,0x0a,0x7e]
0x6b,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, m0                  ; encoding: [0x7c,0x8c,0x0a,0x7e]
0x7c,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, exec_lo             ; encoding: [0x7e,0x8c,0x0a,0x7e]
0x7e,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, exec_hi             ; encoding: [0x7f,0x8c,0x0a,0x7e]
0x7f,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, 0                   ; encoding: [0x80,0x8c,0x0a,0x7e]
0x80,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, -1                  ; encoding: [0xc1,0x8c,0x0a,0x7e]
0xc1,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, 0.5                 ; encoding: [0xf0,0x8c,0x0a,0x7e]
0xf0,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, -4.0                ; encoding: [0xf7,0x8c,0x0a,0x7e]
0xf7,0x8c,0x0a,0x7e

# CHECK: v_trunc_f16_e32 v5, 0xfe0b              ; encoding: [0xff,0x8c,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x8c,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_trunc_f16_e32 v5, 0x3456              ; encoding: [0xff,0x8c,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x8c,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_rndne_f16_e32 v5, v1                  ; encoding: [0x01,0x8f,0x0a,0x7e]
0x01,0x8f,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v255, v1                ; encoding: [0x01,0x8f,0xfe,0x7f]
0x01,0x8f,0xfe,0x7f

# CHECK: v_rndne_f16_e32 v5, v255                ; encoding: [0xff,0x8f,0x0a,0x7e]
0xff,0x8f,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, s1                  ; encoding: [0x01,0x8e,0x0a,0x7e]
0x01,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, s101                ; encoding: [0x65,0x8e,0x0a,0x7e]
0x65,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, flat_scratch_lo     ; encoding: [0x66,0x8e,0x0a,0x7e]
0x66,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, flat_scratch_hi     ; encoding: [0x67,0x8e,0x0a,0x7e]
0x67,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, vcc_lo              ; encoding: [0x6a,0x8e,0x0a,0x7e]
0x6a,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, vcc_hi              ; encoding: [0x6b,0x8e,0x0a,0x7e]
0x6b,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, m0                  ; encoding: [0x7c,0x8e,0x0a,0x7e]
0x7c,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, exec_lo             ; encoding: [0x7e,0x8e,0x0a,0x7e]
0x7e,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, exec_hi             ; encoding: [0x7f,0x8e,0x0a,0x7e]
0x7f,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, 0                   ; encoding: [0x80,0x8e,0x0a,0x7e]
0x80,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, -1                  ; encoding: [0xc1,0x8e,0x0a,0x7e]
0xc1,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, 0.5                 ; encoding: [0xf0,0x8e,0x0a,0x7e]
0xf0,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, -4.0                ; encoding: [0xf7,0x8e,0x0a,0x7e]
0xf7,0x8e,0x0a,0x7e

# CHECK: v_rndne_f16_e32 v5, 0xfe0b              ; encoding: [0xff,0x8e,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x8e,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_rndne_f16_e32 v5, 0x3456              ; encoding: [0xff,0x8e,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x8e,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_fract_f16_e32 v5, v1                  ; encoding: [0x01,0x91,0x0a,0x7e]
0x01,0x91,0x0a,0x7e

# CHECK: v_fract_f16_e32 v255, v1                ; encoding: [0x01,0x91,0xfe,0x7f]
0x01,0x91,0xfe,0x7f

# CHECK: v_fract_f16_e32 v5, v255                ; encoding: [0xff,0x91,0x0a,0x7e]
0xff,0x91,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, s1                  ; encoding: [0x01,0x90,0x0a,0x7e]
0x01,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, s101                ; encoding: [0x65,0x90,0x0a,0x7e]
0x65,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, flat_scratch_lo     ; encoding: [0x66,0x90,0x0a,0x7e]
0x66,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, flat_scratch_hi     ; encoding: [0x67,0x90,0x0a,0x7e]
0x67,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, vcc_lo              ; encoding: [0x6a,0x90,0x0a,0x7e]
0x6a,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, vcc_hi              ; encoding: [0x6b,0x90,0x0a,0x7e]
0x6b,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, m0                  ; encoding: [0x7c,0x90,0x0a,0x7e]
0x7c,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, exec_lo             ; encoding: [0x7e,0x90,0x0a,0x7e]
0x7e,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, exec_hi             ; encoding: [0x7f,0x90,0x0a,0x7e]
0x7f,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, 0                   ; encoding: [0x80,0x90,0x0a,0x7e]
0x80,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, -1                  ; encoding: [0xc1,0x90,0x0a,0x7e]
0xc1,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, 0.5                 ; encoding: [0xf0,0x90,0x0a,0x7e]
0xf0,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, -4.0                ; encoding: [0xf7,0x90,0x0a,0x7e]
0xf7,0x90,0x0a,0x7e

# CHECK: v_fract_f16_e32 v5, 0xfe0b              ; encoding: [0xff,0x90,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x90,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_fract_f16_e32 v5, 0x3456              ; encoding: [0xff,0x90,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x90,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_sin_f16_e32 v5, v1                    ; encoding: [0x01,0x93,0x0a,0x7e]
0x01,0x93,0x0a,0x7e

# CHECK: v_sin_f16_e32 v255, v1                  ; encoding: [0x01,0x93,0xfe,0x7f]
0x01,0x93,0xfe,0x7f

# CHECK: v_sin_f16_e32 v5, v255                  ; encoding: [0xff,0x93,0x0a,0x7e]
0xff,0x93,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, s1                    ; encoding: [0x01,0x92,0x0a,0x7e]
0x01,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, s101                  ; encoding: [0x65,0x92,0x0a,0x7e]
0x65,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x92,0x0a,0x7e]
0x66,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x92,0x0a,0x7e]
0x67,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, vcc_lo                ; encoding: [0x6a,0x92,0x0a,0x7e]
0x6a,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, vcc_hi                ; encoding: [0x6b,0x92,0x0a,0x7e]
0x6b,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, m0                    ; encoding: [0x7c,0x92,0x0a,0x7e]
0x7c,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, exec_lo               ; encoding: [0x7e,0x92,0x0a,0x7e]
0x7e,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, exec_hi               ; encoding: [0x7f,0x92,0x0a,0x7e]
0x7f,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, 0                     ; encoding: [0x80,0x92,0x0a,0x7e]
0x80,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, -1                    ; encoding: [0xc1,0x92,0x0a,0x7e]
0xc1,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, 0.5                   ; encoding: [0xf0,0x92,0x0a,0x7e]
0xf0,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, -4.0                  ; encoding: [0xf7,0x92,0x0a,0x7e]
0xf7,0x92,0x0a,0x7e

# CHECK: v_sin_f16_e32 v5, 0xfe0b                ; encoding: [0xff,0x92,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x92,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_sin_f16_e32 v5, 0x3456                ; encoding: [0xff,0x92,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x92,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_cos_f16_e32 v5, v1                    ; encoding: [0x01,0x95,0x0a,0x7e]
0x01,0x95,0x0a,0x7e

# CHECK: v_cos_f16_e32 v255, v1                  ; encoding: [0x01,0x95,0xfe,0x7f]
0x01,0x95,0xfe,0x7f

# CHECK: v_cos_f16_e32 v5, v255                  ; encoding: [0xff,0x95,0x0a,0x7e]
0xff,0x95,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, s1                    ; encoding: [0x01,0x94,0x0a,0x7e]
0x01,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, s101                  ; encoding: [0x65,0x94,0x0a,0x7e]
0x65,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, flat_scratch_lo       ; encoding: [0x66,0x94,0x0a,0x7e]
0x66,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, flat_scratch_hi       ; encoding: [0x67,0x94,0x0a,0x7e]
0x67,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, vcc_lo                ; encoding: [0x6a,0x94,0x0a,0x7e]
0x6a,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, vcc_hi                ; encoding: [0x6b,0x94,0x0a,0x7e]
0x6b,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, m0                    ; encoding: [0x7c,0x94,0x0a,0x7e]
0x7c,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, exec_lo               ; encoding: [0x7e,0x94,0x0a,0x7e]
0x7e,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, exec_hi               ; encoding: [0x7f,0x94,0x0a,0x7e]
0x7f,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, 0                     ; encoding: [0x80,0x94,0x0a,0x7e]
0x80,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, -1                    ; encoding: [0xc1,0x94,0x0a,0x7e]
0xc1,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, 0.5                   ; encoding: [0xf0,0x94,0x0a,0x7e]
0xf0,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, -4.0                  ; encoding: [0xf7,0x94,0x0a,0x7e]
0xf7,0x94,0x0a,0x7e

# CHECK: v_cos_f16_e32 v5, 0xfe0b                ; encoding: [0xff,0x94,0x0a,0x7e,0x0b,0xfe,0x00,0x00]
0xff,0x94,0x0a,0x7e,0x0b,0xfe,0x00,0x00

# CHECK: v_cos_f16_e32 v5, 0x3456                ; encoding: [0xff,0x94,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x94,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_exp_legacy_f32_e32 v5, v1             ; encoding: [0x01,0x97,0x0a,0x7e]
0x01,0x97,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v255, v1           ; encoding: [0x01,0x97,0xfe,0x7f]
0x01,0x97,0xfe,0x7f

# CHECK: v_exp_legacy_f32_e32 v5, v255           ; encoding: [0xff,0x97,0x0a,0x7e]
0xff,0x97,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, s1             ; encoding: [0x01,0x96,0x0a,0x7e]
0x01,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, s101           ; encoding: [0x65,0x96,0x0a,0x7e]
0x65,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, flat_scratch_lo ; encoding: [0x66,0x96,0x0a,0x7e]
0x66,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, flat_scratch_hi ; encoding: [0x67,0x96,0x0a,0x7e]
0x67,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, vcc_lo         ; encoding: [0x6a,0x96,0x0a,0x7e]
0x6a,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, vcc_hi         ; encoding: [0x6b,0x96,0x0a,0x7e]
0x6b,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, m0             ; encoding: [0x7c,0x96,0x0a,0x7e]
0x7c,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, exec_lo        ; encoding: [0x7e,0x96,0x0a,0x7e]
0x7e,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, exec_hi        ; encoding: [0x7f,0x96,0x0a,0x7e]
0x7f,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, 0              ; encoding: [0x80,0x96,0x0a,0x7e]
0x80,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, -1             ; encoding: [0xc1,0x96,0x0a,0x7e]
0xc1,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, 0.5            ; encoding: [0xf0,0x96,0x0a,0x7e]
0xf0,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, -4.0           ; encoding: [0xf7,0x96,0x0a,0x7e]
0xf7,0x96,0x0a,0x7e

# CHECK: v_exp_legacy_f32_e32 v5, 0xaf123456     ; encoding: [0xff,0x96,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x96,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_exp_legacy_f32_e32 v5, 0x3f717273     ; encoding: [0xff,0x96,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x96,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_log_legacy_f32_e32 v5, v1             ; encoding: [0x01,0x99,0x0a,0x7e]
0x01,0x99,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v255, v1           ; encoding: [0x01,0x99,0xfe,0x7f]
0x01,0x99,0xfe,0x7f

# CHECK: v_log_legacy_f32_e32 v5, v255           ; encoding: [0xff,0x99,0x0a,0x7e]
0xff,0x99,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, s1             ; encoding: [0x01,0x98,0x0a,0x7e]
0x01,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, s101           ; encoding: [0x65,0x98,0x0a,0x7e]
0x65,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, flat_scratch_lo ; encoding: [0x66,0x98,0x0a,0x7e]
0x66,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, flat_scratch_hi ; encoding: [0x67,0x98,0x0a,0x7e]
0x67,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, vcc_lo         ; encoding: [0x6a,0x98,0x0a,0x7e]
0x6a,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, vcc_hi         ; encoding: [0x6b,0x98,0x0a,0x7e]
0x6b,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, m0             ; encoding: [0x7c,0x98,0x0a,0x7e]
0x7c,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, exec_lo        ; encoding: [0x7e,0x98,0x0a,0x7e]
0x7e,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, exec_hi        ; encoding: [0x7f,0x98,0x0a,0x7e]
0x7f,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, 0              ; encoding: [0x80,0x98,0x0a,0x7e]
0x80,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, -1             ; encoding: [0xc1,0x98,0x0a,0x7e]
0xc1,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, 0.5            ; encoding: [0xf0,0x98,0x0a,0x7e]
0xf0,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, -4.0           ; encoding: [0xf7,0x98,0x0a,0x7e]
0xf7,0x98,0x0a,0x7e

# CHECK: v_log_legacy_f32_e32 v5, 0xaf123456     ; encoding: [0xff,0x98,0x0a,0x7e,0x56,0x34,0x12,0xaf]
0xff,0x98,0x0a,0x7e,0x56,0x34,0x12,0xaf

# CHECK: v_log_legacy_f32_e32 v5, 0x3f717273     ; encoding: [0xff,0x98,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x98,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_swap_b32 v5, v1                       ; encoding: [0x01,0xa3,0x0a,0x7e]
0x01,0xa3,0x0a,0x7e

# CHECK: v_swap_b32 v255, v1                     ; encoding: [0x01,0xa3,0xfe,0x7f]
0x01,0xa3,0xfe,0x7f

# CHECK: v_swap_b32 v5, v255                     ; encoding: [0xff,0xa3,0x0a,0x7e]
0xff,0xa3,0x0a,0x7e

# CHECK: v_swap_b32 v1, v2                       ; encoding: [0x02,0xa3,0x02,0x7e]
0x02 0xa3 0x02 0x7e

# CHECK: v_cvt_norm_i16_f16_e32 v255, v1         ; encoding: [0x01,0x9b,0xfe,0x7f]
0x01,0x9b,0xfe,0x7f

# CHECK: v_cvt_norm_i16_f16_e32 v5, 0.5          ; encoding: [0xf0,0x9a,0x0a,0x7e]
0xf0,0x9a,0x0a,0x7e

# CHECK: v_cvt_norm_i16_f16_e32 v5, 0x3456       ; encoding: [0xff,0x9a,0x0a,0x7e,0x56,0x34,0x00,0x00]
0xff,0x9a,0x0a,0x7e,0x56,0x34,0x00,0x00

# CHECK: v_cvt_norm_u16_f16_e32 v5, s101         ; encoding: [0x65,0x9c,0x0a,0x7e]
0x65,0x9c,0x0a,0x7e

# CHECK: v_sat_pk_u8_i16_e32 v5, v255            ; encoding: [0xff,0x9f,0x0a,0x7e]
0xff,0x9f,0x0a,0x7e

# CHECK: v_sat_pk_u8_i16_e32 v5, -1              ; encoding: [0xc1,0x9e,0x0a,0x7e]
0xc1,0x9e,0x0a,0x7e

# CHECK: v_sat_pk_u8_i16_e32 v5, 0x3f717273      ; encoding: [0xff,0x9e,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x9e,0x0a,0x7e,0x73,0x72,0x71,0x3f

# CHECK: v_screen_partition_4se_b32_e32 v5, s101 ; encoding: [0x65,0x6e,0x0a,0x7e]
0x65,0x6e,0x0a,0x7e

# CHECK: v_screen_partition_4se_b32_e32 v5, 0x3f717273 ; encoding: [0xff,0x6e,0x0a,0x7e,0x73,0x72,0x71,0x3f]
0xff,0x6e,0x0a,0x7e,0x73,0x72,0x71,0x3f
